Posts

Post not yet marked as solved
5 Replies
0 Views
I suppose your subviews have explicit size constraints? Try putting 2 UILabels vertically and letting their intrinsic sizes determined the root view's size. Or just try my sample project.
Post not yet marked as solved
5 Replies
0 Views
iOS. But my root view is not UIViewController.view. I load it from xib(not storyboard) and add it as a subview of another view. Why should it be contrained to the size of the device screen?
Post not yet marked as solved
4 Replies
0 Views
Thanks! I think I'm getting close. So how does yaw in the code fix this issue? Why its value is calculated this way: atan2f(camera.transform.columns.0.x, camera.transform.columns.1.x)? (I believe this question is very closedly related: https://forums.developer.apple.com/thread/86482).