I tried the example from the tutorial but I can not in any way to open DocumentInteraction.
I have to set some other parameter?
PS: with a png or jpg file I get NO error but DocumentInteraction dosen't start.
With a pdf file _I get this error:
Application_Start
Application_Active
LaunchServices: invalidationHandler called
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)
(
"<NSLayoutConstraint:0x156d68e0 V:[UIView:0x156ccc80(>=44)]>",
"<NSLayoutConstraint:0x156d6800 V:|-(0)-[UIView:0x156ccc80] (Names: '|':UIView:0x15690640 )>",
"<NSLayoutConstraint:0x156d6860 V:[UICollectionView:0x158c9c00]-(0)-| (Names: '|':UIView:0x156ccc80 )>",
"<NSLayoutConstraint:0x156d6650 UIView:0x15690640.height == UIView:0x156905d0.height>",
"<NSLayoutConstraint:0x156d7090 _UIAlertControllerView:0x156d2180.height == UIView:0x156905d0.height>",
"<NSLayoutConstraint:0x156ed690 _UIAlertControllerView:0x156d2180.height == UIView:0x156c12e0.height>",
"<NSLayoutConstraint:0x156f0410 UIView:0x15690640.bottom == UICollectionView:0x158c9c00.bottom>",
"<NSLayoutConstraint:0x156e1f30 'UIView-Encapsulated-Layout-Height' V:[UIView:0x156c12e0(21)]>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x156d68e0 V:[UIView:0x156ccc80(>=44)]>
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.
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)
(
"<NSLayoutConstraint:0x156d67d0 V:[UIView:0x15690640(>=44)]>",
"<NSLayoutConstraint:0x156d6650 UIView:0x15690640.height == UIView:0x156905d0.height>",
"<NSLayoutConstraint:0x156d7090 _UIAlertControllerView:0x156d2180.height == UIView:0x156905d0.height>",
"<NSLayoutConstraint:0x156ed690 _UIAlertControllerView:0x156d2180.height == UIView:0x156c12e0.height>",
"<NSLayoutConstraint:0x156e1f30 'UIView-Encapsulated-Layout-Height' V:[UIView:0x156c12e0(21)]>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x156d67d0 V:[UIView:0x15690640(>=44)]>
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.
I have to set some other parameter?
PS: with a png or jpg file I get NO error but DocumentInteraction dosen't start.
With a pdf file _I get this error:
Application_Start
Application_Active
LaunchServices: invalidationHandler called
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)
(
"<NSLayoutConstraint:0x156d68e0 V:[UIView:0x156ccc80(>=44)]>",
"<NSLayoutConstraint:0x156d6800 V:|-(0)-[UIView:0x156ccc80] (Names: '|':UIView:0x15690640 )>",
"<NSLayoutConstraint:0x156d6860 V:[UICollectionView:0x158c9c00]-(0)-| (Names: '|':UIView:0x156ccc80 )>",
"<NSLayoutConstraint:0x156d6650 UIView:0x15690640.height == UIView:0x156905d0.height>",
"<NSLayoutConstraint:0x156d7090 _UIAlertControllerView:0x156d2180.height == UIView:0x156905d0.height>",
"<NSLayoutConstraint:0x156ed690 _UIAlertControllerView:0x156d2180.height == UIView:0x156c12e0.height>",
"<NSLayoutConstraint:0x156f0410 UIView:0x15690640.bottom == UICollectionView:0x158c9c00.bottom>",
"<NSLayoutConstraint:0x156e1f30 'UIView-Encapsulated-Layout-Height' V:[UIView:0x156c12e0(21)]>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x156d68e0 V:[UIView:0x156ccc80(>=44)]>
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.
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)
(
"<NSLayoutConstraint:0x156d67d0 V:[UIView:0x15690640(>=44)]>",
"<NSLayoutConstraint:0x156d6650 UIView:0x15690640.height == UIView:0x156905d0.height>",
"<NSLayoutConstraint:0x156d7090 _UIAlertControllerView:0x156d2180.height == UIView:0x156905d0.height>",
"<NSLayoutConstraint:0x156ed690 _UIAlertControllerView:0x156d2180.height == UIView:0x156c12e0.height>",
"<NSLayoutConstraint:0x156e1f30 'UIView-Encapsulated-Layout-Height' V:[UIView:0x156c12e0(21)]>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x156d67d0 V:[UIView:0x15690640(>=44)]>
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.
Attachments
Last edited: