ios - updateViewConstraints and orientation handling -
ios - updateViewConstraints and orientation handling -
i've questions updateviewconstraints method:
updateviewconstraints called twice @ loading of view controller? , why called when view controlle dismissed? in ios 7.1 updateviewconstraints not called when orientation changes. in ios 8 is. i'm calling updateviewconstraints in willrotatetointerfaceorientation:duration, ios 7 only. where should 1 add/remove subviews/child view controllers? i'm doing in updateviewconstraints because uideviceorientationdidchangenotification called after updateviewconstraints. views have available before new constraints added. ios ios8 autolayout constraints uiinterfaceorientation
Comments
Post a Comment