thedillonb / MonoTouch.SlideoutNavigation

A MonoTouch slide-out UI component
40 stars 24 forks source link

iOS 7 - Strange behaviour when panning the top view controller #7

Open eduardocoelho opened 11 years ago

eduardocoelho commented 11 years ago

iOS 7 introduced new system-wide gestures, such as navigating back to a previous view controller through a 'swipe' gesture. Looks like the current implementation does not expect that (e.g.: the private readonly UIPanGestureRecognizer _panGesture; property).

I'm also facing a strange behaviour: If I pan the top view controller all way to the right and then still try (insist) panning the top view controller to the same direction (right) I get the unexpected black background in the middle of the screen, as shown in the screenshot:

ios simulator screen shot sep 18 2013 4 40 56 pm

twanwv commented 11 years ago

Will look into this after upgrading to the latest iOS sdk's. If i remember correctly you can quickly solve this by manipulating the widths and offsets but i will look into the calculations to take the correct screen widths. I assume you are developing for iPad?

eduardocoelho commented 11 years ago

I'm developing for both iPhone and iPad. The behaviour applies for both platforms.

I also noticed a crash while panning the navigation bar. Currently I just commented private readonly UIPanGestureRecognizer _panGesture; to avoid crashes on my production app.

twanwv commented 11 years ago

Thanks for the feedback will dig into it soon, let me know if you find something else in the meantime