If I do something like this:
TWTRComposerViewController* composer = [TWTRComposerViewController emptyComposer];
CGFloat w = composer.view.frame.size.width;
CGFloat h = composer.view.frame.size.height;
[composer initWithInitialText:text image:img videoURL:nil];
I will get a frozen TWTRComposerViewController with “What’s happening?” as a default message. And also a alert dialog which says “No Twitter Account There are no Twitter accounts configured. You can create or log in to an account in the Twitter app”.
So I took a screenshot by using “Debug View Hierarchy” :
and those weird logs
2018-01-16 14:26:04.256786+0900 [775:330349] [LayoutConstraints] View has an ambiguous layout. See "Auto Layout Guide: Ambiguous Layouts" for help debugging. Displaying synopsis from invoking -[UIView _autolayoutTrace] to provide additional detail.
*UITableView:0x11f078000- AMBIGUOUS LAYOUT for UITableView:0x11f078000.minY{id: 410}
Legend:
* - is laid out with auto layout
+ - is laid out manually, but is represented in the layout engine because translatesAutoresizingMaskIntoConstraints = YES
• - layout engine host
2018-01-16 14:26:04.276446+0900 [775:330349] [LayoutConstraints] View has an ambiguous layout. See "Auto Layout Guide: Ambiguous Layouts" for help debugging. Displaying synopsis from invoking -[UIView _autolayoutTrace] to provide additional detail.
*TSETweetTextViewContainer:0x11df0c460- AMBIGUOUS LAYOUT for TSETweetTextViewContainer:0x11df0c460.Height{id: 362}
Legend:
* - is laid out with auto layout
+ - is laid out manually, but is represented in the layout engine because translatesAutoresizingMaskIntoConstraints = YES
• - layout engine host
2018-01-16 14:26:04.286287+0900 [775:330349] [LayoutConstraints] View has an ambiguous layout. See "Auto Layout Guide: Ambiguous Layouts" for help debugging. Displaying synopsis from invoking -[UIView _autolayoutTrace] to provide additional detail.
*UIScrollView:0x11e82bc00- AMBIGUOUS LAYOUT for UIScrollView:0x11e82bc00.contentHeight{id: 918}
Legend:
* - is laid out with auto layout
+ - is laid out manually, but is represented in the layout engine because translatesAutoresizingMaskIntoConstraints = YES
• - layout engine host
2018-01-16 14:26:04.396249+0900 [775:330349] [LayoutConstraints] View has an ambiguous layout. See "Auto Layout Guide: Ambiguous Layouts" for help debugging. Displaying synopsis from invoking -[UIView _autolayoutTrace] to provide additional detail.
*UIView:0x12020ce30- AMBIGUOUS LAYOUT for UIView:0x12020ce30.minX{id: 622}, UIView:0x12020ce30.minY{id: 904}, UIView:0x12020ce30.Width{id: 527}, UIView:0x12020ce30.Height{id: 905}
Legend:
* - is laid out with auto layout
+ - is laid out manually, but is represented in the layout engine because translatesAutoresizingMaskIntoConstraints = YES
• - layout engine host
2018-01-16 14:26:04.397875+0900 [775:330349] [LayoutConstraints] View has an ambiguous layout. See "Auto Layout Guide: Ambiguous Layouts" for help debugging. Displaying synopsis from invoking -[UIView _autolayoutTrace] to provide additional detail.
*UIView:0x120211160- AMBIGUOUS LAYOUT for UIView:0x120211160.minY{id: 903}
Legend:
* - is laid out with auto layout
+ - is laid out manually, but is represented in the layout engine because translatesAutoresizingMaskIntoConstraints = YES
• - layout engine host
2018-01-16 14:26:04.472152+0900 [775:330349] [LayoutConstraints] Window has a view with an ambiguous layout. See "Auto Layout Guide: Ambiguous Layouts" for help debugging. Displaying synopsis from invoking -[UIView _autolayoutTrace] to provide additional detail.
*UIScrollView:0x11e82bc00- AMBIGUOUS LAYOUT for UIScrollView:0x11e82bc00.contentHeight{id: 918}
Legend:
* - is laid out with auto layout
+ - is laid out manually, but is represented in the layout engine because translatesAutoresizingMaskIntoConstraints = YES
• - layout engine host