ios - how to give an action for a button which should have different action for landscape and portrait? -
in project , have uibutton on view. when click on button smallview should load in main view landscape frame different , portrait frame different. suggestions helpful requirement
you can orientation of device @ time calling:
[[uidevice currentdevice] orientation];
in code can check , setup desired frame.
Comments
Post a Comment