iOS example works and runs on device.