Update NativeApp.cpp

buildfix for ios jailbreak detection
Update ViewController.mm

buildfix
Merge pull request #1506 from mgaver/patch-3

Build refix for ios