ios - specific view orientation for specific views using Swift -


i've searched , haven't found date swift alternative question. have in total 8 views in application, want first 3 locked in portrait. rest can rotate willingly. how can achieve in swift?

the easiest way each governed different view controller, , these presented view controllers. presented view controller in charge of app's possible orientations (by implementing supportedinterfaceorientations).


Comments

Popular posts from this blog

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -

YouTubePlayerFragment cannot be cast to android.support.v4.app.Fragment -