Closed Dershowitz011 closed 8 years ago
Hi @Dershowitz011, thanks for taking the time to do this but I'm afraid this is too simplistic an approach.
The final solution needs to have the same API as Apple (i.e. preview actions defined in the target view controller), interact with the native peek and pop if available (requires swizzling) and allow the presentation of nested groups of actions (and even nested groups of nested actions).
I'm going to close this pull request and will make my preview actions branch public once I define the basic API (sometime next week).
Implement a swipe recogniser (.Up) and check for the location in TouchesMoved Method. We need the location movement about the Y axis so, let's say it the user moves the view 20 points upwards and the swipe direction being up while peeking, bring in an alert view in the action sheet style displaying the options needed. My implementation might be wrong but do let me know.