iOS Autolayout - How to have one sticky subview when rotating (like Native Camera App)? -


i creating custom camera , want lock camera controls bottom of phone @ orientations

i.e. portrait orientation has control toolbar @ bottom, landscape orientation has control toolbar on left

i have been playing around constraints , setting them width/height aspects rotates. suggestions?

portrait: enter image description here

landscape: enter image description here

so ended locking view portrait orientation, transforming text (i think how apple it).

see answer transforming text: objective c: how can rotate text uibutton , uilabel?


Comments

Popular posts from this blog

javascript - Karma not able to start PhantomJS on Windows - Error: spawn UNKNOWN -

c# - Display ASPX Popup control in RowDeleteing Event (ASPX Gridview) -

Nuget pack csproj using nuspec -