-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Swipe Up/Down gestures working fine with iOS emulator but not on actual device #29
Comments
Actually, having just downloaded a fresh copy of the code from this repo, it doesn't work correctly on my iPad. The app loads ok but most (if not all) pages appear blank, i.e. when I tap "Swipe" to test the swiping features I am presented with a blank screen. The iPad is running iOS 9.2. Again, however, the emulator runs perfectly with no issues and swipe gestures work correctly. And that's iOS 9.2 too. Cheers |
I think this is a Xamarin bug similar to this mentioned here: https://bugzilla.xamarin.com/show_bug.cgi?id=37563 |
run into it and only suggested approach is dont link? |
To ensure linker does not remove your Gestures add the following to your AppDelegate FinishedLaunching method
|
Swipe up/down working fine with iOS 9.1 and 9.2 (iPhone 5S emulator). When I tried on an actual device (iPhone 5S running iOS 9.2) my app would crash.
System.MissingMethodException: Constructor on type 'UIKit.UISwipeGestureRecognizer' not found.
I can post the full stack trace if required. The app wouldn't crash when trying to swipe up or down, it was before, when configuring the gesture recognisers, with this code:
I.e. commenting that code out to ignore the swipe up/down would stop the app from crashing.
Is this something you or anyone has seen before?
Thanks
The text was updated successfully, but these errors were encountered: