Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

iOS 6 compatibility errors #11

Closed
ddaddy opened this Issue · 5 comments

3 participants

ddaddy Matt Coneybeare vikram-wli
ddaddy

I'm not sure if you've tried out iOS6 and xCode 4.5, but this gives errors about the constraints. I think it's to do with the popping up animation as it doesn't appear from where it's set to appear from. The constraints system seems to have been changed in xCode 4.5
Here's an example of the errors:

2012-06-18 10:47:08.647 iSlide[2829:907] Unable to simultaneously satisfy constraints.
Probably at least one of the constraints in the following list is one you don't want. Try this: (1) look at each constraint and try to figure out which you don't expect; (2) find the code that added the unwanted constraint or constraints and fix it. (Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints)
(
"",
"",
"",
"",
""
)

Will attempt to recover by breaking constraint

Break on objc_exception_throw to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in may also be helpful.
2012-06-18 10:47:08.666 iSlide[2829:907] Unable to simultaneously satisfy constraints.
Probably at least one of the constraints in the following list is one you don't want. Try this: (1) look at each constraint and try to figure out which you don't expect; (2) find the code that added the unwanted constraint or constraints and fix it. (Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints)
(
"",
"",
"",
"",
"",
"",
"",
""
)

Will attempt to recover by breaking constraint

Break on objc_exception_throw to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in may also be helpful.
2012-06-18 10:47:08.674 iSlide[2829:907] Unable to simultaneously satisfy constraints.
Probably at least one of the constraints in the following list is one you don't want. Try this: (1) look at each constraint and try to figure out which you don't expect; (2) find the code that added the unwanted constraint or constraints and fix it. (Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints)
(
"",
"",
"",
""
)

Will attempt to recover by breaking constraint

Break on objc_exception_throw to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in may also be helpful.

Matt Coneybeare
Owner

I haven't tried out iOS 6 yet, but the actual UAModalPanel code is all done in code, not in IB. I think this error probably has to do with the example project and not the UAModalPanel library.

ddaddy

Yes I think you are right. I haven't got the example in my project, but I have a .xib with a UIView I use in the panel.
It must be complaining about the constraints in this UIView as it tries to shrink the panel on close.
I really dont understad their new constraints system, so i'll have to do some reading.

ddaddy

When you create a new xib file, under the File Inspector tab (Seems a strange place to put it) there is a setting 'Use Autolayout'. This just needs disabling.

ddaddy ddaddy closed this
vikram-wli

I got many lines in the console when I set auto layouut in a custom view of xib.

Matt Coneybeare
Owner

Then don't do that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.