Tuesday, 15 July 2014

ios - Width of UINavigationController view in iOS8 modal popover? -



ios - Width of UINavigationController view in iOS8 modal popover? -

in ipad app, nowadays navigation controller in modal form sheet, , set width of label therein width of navigation controller (i.e. total width of form sheet).

in ios7, works perfectly. in ios8, width reported total width of device (either 768 or 1024 points). realise these popovers have been deprecated on ios8, there means of getting right width of form sheet in situation in ios8?

view's frame not correctly when created. can actual frame in view controller's - viewdidlayoutsubview or view's - layoutsubview.

set label width in - viewdidlayoutsubview of view controller.

ios objective-c ios8 popover uimodalpresentationstyle

No comments:

Post a Comment