Swipe Based Events
You can include swipe gestures on any of your pages and run an unlimited number of events after each swipe.
- SwipeUpEvents – Any events you want to occur when the reader swipes up
- SwipeDownEvents – Any events you want to occur when the reader swipes down
- SwipeLeftEvents – Any events you want to occur when the reader swipes left
- SwipeRightEvents – Any events you want to occur when the reader swipes right
Note: Combining swipe and pan gestures doesn’t always go as planned. One will usually override the other.
If you stumbled onto this article, it is part of our documentation for the Story Tellers iOS Starter Kit 2. The kit enables you to make children’s book apps and games without writing any code! But it is Swift 2 based and compatible with iOS9 (or higher) and Xcode 7 (or higher), so kit buyers can even extend the functionality to fit their needs further. Some of what we cover in the kit documentation may apply to Xcode in general, so this article could be worth a read even if you aren’t a user. You can purchase Lifetime Updates the kit here, or subscribe Yearly to CartoonSmart and get the latest version, plus access to all of our other kits / tutorials.
We’ve also created an iBook to document the very latest properties in the kit, so be sure to download that as well.