Reputation: 2640
I'm making an application for iPad in Xcode in template Master-detail application. I need to do a design for portrait mode and another for landscape mode. My first idea was make two UIView
s and make a rule: if portrait, show View1
, if landscape, show View2
. But I have text fields in it and when the user will be typing something inside and then rotate the device, text will be deleted, because it will be another UIView
... Can anybody help me, how to do it, please?
Upvotes: 0
Views: 256
Reputation: 7198
springs and struts
or use autolayout
.Upvotes: 2