In the iPad I have UIViewController, inside and with UIview.
____________ | | | | | UIView | | Controller | | | | | | X | ------------
UIView is X.
I define an autoresizing mask for it, UIViewController on the scene's deadlined
self.view.autoresizeSubviews = Yes; // xView creation xView.autoresizingMask = UIViewAutoresizingFlexibleRightMargin | UIViewAutoresizingFlexibleBottomMargin;
But it does not work, xView is fine but the screen revolves around the screen border.
What am I missing?
If you want to put the scene in the lower-right corner, then it is flexible left < / Em> and top margins.
xView.autoresizingMask = UIViewAutoresizingFlexibleLeftMargin | UIViewAutoresizingFlexibleTopMargin;
Comments
Post a Comment