0

I have existing iPhone app. Now i want it to give support for iPad app i Followed the below link (Converting Storyboard from iPhone to iPad). After implementing the suggestions given by tharkay. I run the app in iPad only Navigation bar coming properly but all components(like buttons, labels)are not resizing those are coming as iPhone size.

Can anybody help me to solve the problem?

Community
  • 1
  • 1
Logger
  • 1,274
  • 1
  • 14
  • 25
  • did you used autolayout in your storyboard ? – Nofel Mahmood Sep 26 '14 at 11:19
  • 1
    That is the reason your uicontrols are not responding to different screen size. You must set constraints on your UI elements so that they can arrange themselves on different screen sizes by using AutoLayout. Check out this tutorial http://www.raywenderlich.com/50317/beginning-auto-layout-tutorial-in-ios-7-part-1 – Nofel Mahmood Sep 26 '14 at 11:22
  • Thanks i will sea the tutorial and let you know the progress – Logger Sep 26 '14 at 11:51

2 Answers2

2

Under your Project->Targets->General->Deployment Info make sure that in your iPad tab the right Main Interface is selected (it's your iPad storyboard name). enter image description here

LS_
  • 6,763
  • 9
  • 52
  • 88
1

Use autolayout to setup the constraints on the UI Elements so that they can respond appropriately to different screen size like in your case iPad. Check out this link !

http://www.raywenderlich.com/50317/beginning-auto-layout-tutorial-in-ios-7-part-1

Nofel Mahmood
  • 898
  • 7
  • 12