A strange storyboard presses a button when updating an application to iOS 7.

I am currently updating my application for iOS 7. When I create and run the application, it works, but the layout requires serious configuration, this is not a problem.

When I switch to another view in the application, the screen is pressed about 50% and then disappears. The attached image describes the problem:

enter image description here

The application uses the storyboard , and the storyboard segue is just a β€œpush” segue in the navigation controller.

+8
ios objective-c iphone ios7 storyboard
source share
2 answers

This is what segue pushes in iOS7. The inbound view controller actually floats at the top of the previous one, which only moves a short distance. Look at the transitions in the settings app, for example, and you will see what I mean.

The problem is that the incoming view has a clear background color, so you can still see the content under it. I think that the default background color for some views has changed for iOS 7 too - try setting the background color and you should see a much better transition.

+13
source share

Using the animation transition mechanism in iOS 7, you can specify the transition in both directions.

Set segue for Push, then see the code below that implements the transition of iOS 6 to the old style:

https://github.com/Dzamir/OldStyleNavigationControllerAnimatedTransition

+1
source share

All Articles