iPad: Launching app into Split View prints layout errors

Originator:maxseelemann
Number:rdar://23663507 Date Originated:25-Nov-2015
Status:Open Resolved:
Product:iOS Product Version:9.x.x
Classification:Serious Issue Reproducible:Always
 
Summary:
Launching an app while Split View is enabled on an iPad Air 2 prints layout errors. That's very annoying.

Steps to Reproduce:
1. Run the attached sample app on iPad Air 2 Simulator
2. Enable Split View by swiping in another app from the right
3. Stop running from Xcode
4. Run again from Xcode
5. Observe errors being printed

Expected Results:
no output at all.

Actual Results:
2015-11-25 14:07:23.308 test[40797:10955504] 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. 
(
    "<NSLayoutConstraint:0x7fc7b963e890 V:|-(20)-[UIInputSetContainerView:0x7fc7b9637ca0]   (Names: '|':UITextEffectsWindow:0x7fc7b940f450 )>",
    "<NSLayoutConstraint:0x7fc7b95264f0 'UIInputWindowController-top' V:|-(0)-[UIInputSetContainerView:0x7fc7b9637ca0]   (Names: '|':UITextEffectsWindow:0x7fc7b940f450 )>"
)

Will attempt to recover by breaking constraint 
<NSLayoutConstraint:0x7fc7b963e890 V:|-(20)-[UIInputSetContainerView:0x7fc7b9637ca0]   (Names: '|':UITextEffectsWindow:0x7fc7b940f450 )>

Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKit/UIView.h> may also be helpful.

Version:
9.2 beta

Notes:


Configuration:
iPad Air 2 Simulator

Attachments:
'test.zip' was successfully uploaded. http://cl.ly/fkRC

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!