You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a very simple sample I'm trying to display a multi-line UILabel in an ARSPopover using Auto Layout to break it into multiple lines and to ensure that the popover's content size fits within the screen:
In case you want to use AutoLayout, then you should do layout configurations after you call [self presentViewController:popover animated:YES completion:nil];. I know it sounds strange, but Apple advises to do it in such manner.
This issue is old but, as I see ARSPopover is just a subclass of UIViewController which automatically set its modalPresentationStyle to popover. So you can just subclass ARSPopover and set up your views with auto layout like normal view controller, without the need of calling -insertContentIntoPopover:.
As a very simple sample I'm trying to display a multi-line UILabel in an ARSPopover using Auto Layout to break it into multiple lines and to ensure that the popover's content size fits within the screen:
However it doesn't seem like ARSPopover supports Auto Layout.
The text was updated successfully, but these errors were encountered: