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

Php operator `break` doesn't stop while -

ubuntu - Bash Script to Check That Files Are Being Created -

vim: Search & replace -