ios - updateViewConstraints and orientation handling -



ios - updateViewConstraints and orientation handling -

i've questions updateviewconstraints method:

why 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

Popular posts from this blog

c - Compilation of a code: unkown type name string -

java - Bypassing "final local variable defined in an enclosing type" -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -