Xamarin iOS on device crashes in this code.