ios - rotation change not triggered anymore -


i have app viewcontroller. have overwriting following methods:

override func didrotatefrominterfaceorientation(frominterfaceorientation: uiinterfaceorientation) {  override func willrotatetointerfaceorientation(         tointerfaceorientation: uiinterfaceorientation,         duration: nstimeinterval) {  override func willanimaterotationtointerfaceorientation(tointerfaceorientation: uiinterfaceorientation, duration: nstimeinterval) {  override func viewwilltransitiontosize(size: cgsize, withtransitioncoordinator coordinator: uiviewcontrollertransitioncoordinator) { 

override func shouldautorotate() -> bool not implemented.

i rotating device portrait landscape, no of methods triggered. know viewwilltransitiontosize triggered yesterday, doesn't. can't see reason.

i don't see change side regarding rotation detection.

does has hint ?

update

sorry volks. stupid failure me. had parent uiviewcontroller viewwilltransitiontosize implemented , forgot call super, recognize rotation in subview.

oh sorry wasting time this. lot.

you can use

-(nsuinteger)application:(uiapplication *)application supportedinterfaceorientationsforwindow:(uiwindow *)window in appdelegate


Comments