Answer the question
In order to leave comments, you need to log in
Problem with autoloyaout in ios7?
When trying to create a project with one UIViewController / UINavigationController, the following problem occurred:
If you specify a target from ios5 in the project and disable autoloyaout (because it works since ios6) in the interface builder, then an exception is thrown after launch:
-[NSKeyedUnarchiver decodeInt32ForKey:]: value for key (UIKeyAutomaticallyAdjustsScrollViewInsets) is not an integer number'
Answer the question
In order to leave comments, you need to log in
Thanks everyone for the replies.
The problem is as expected LIAL in xcode 5.
It creates the wrong project.
If you create a project in xcode4 and then open it in xcode5, then everything is ok.
These are the crutches.
I don't think you should bother with iOS5.
According to statistics, the share of people sitting on iOS versions below 6.0 for iPhone is less than 6% ( Proof ) - so you can use autolayout. if all the same these 6% are important, then you can use the old and not very good struts & springs
If there is a loyal audience sitting on old devices, then it would be reasonable to ensure compatibility, even if you have to duplicate storyboards. For new projects - depends on the specifics of the project, the question is individual.
I think you can open the storyboard in a text editor, find entries there
and try to change YES
/ NO
to 1/0, since it expects a number there,
or completely remove this parameter
what demo are you looking at in ECSlidingViewController? Theoretically, TransitionFun should probably work, but BasicMenu should crash
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question