Updated first sample for iOS after the latest changes in the engine