Is there a way to detect when I’m running on the simulator vs running on an actual device?
Thanks. [import]uid: 27183 topic_id: 7613 reply_id: 307613[/import]
Is there a way to detect when I’m running on the simulator vs running on an actual device?
Thanks. [import]uid: 27183 topic_id: 7613 reply_id: 307613[/import]
You use system.getInfo( “environment” ):
if system.getInfo( "environment" ) == "simulator" then -- simulator code hereend[/code] [import]uid: 8196 topic_id: 7613 reply_id: 27013[/import]
Awesome. Thanks Tim! [import]uid: 27183 topic_id: 7613 reply_id: 27028[/import]