Currently I am updating my app for iOS 7. When I build and run the app it works but the layout needs some serious tweaking, that is not the problem.
When I navigate to another view in the application the screen gets pushed for about 50% and disappears then. The attached image describes the problem:
The application uses a storyboard
, and the storyboard
segue is just a simple "push" segue within a navigation controller.
This is what a push segue looks like under iOS7. The incoming view controller actually floats in over the top of the previous one, which only moves a small distance out of the way. Look at the transitions in the settings app, for example, and you will see what I mean.
The problem you have is that the incoming view appears to have a clear background colour, so you can still see the content underneath. I think the default background colour for some views has changed for iOS 7 as well - try setting a background colour and you should see a much better transition.
Using the animation transition mechanism in iOS 7 you can specify the transition in both directions.
Set the segue to Push, then see code below which implements the old style iOS 6 push transition:
https://github.com/Dzamir/OldStyleNavigationControllerAnimatedTransition
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With