Take control of your SAP testing with UiPath Test Suite
Convert iPhone application to Universal application_InnovationM
1. | Build a Mobile Experience
www.innovationm.com
Convert iPhone application to Universal
application (iPhone and iPad both)
Corporate Office:
InnovationM Mobile Technologies
E-3 (Ground Floor), Sector-3, Noida 201301 (India)
t: +91 8447 227337 | e: info@innovationm.com
2. | Build a Mobile Experience
www.innovationm.com
Convert iPhone application to Universal application
(iPhone and iPad Both)
iOS Application can be developed for iPhone or iPad or Both (iPhone and iPad).
Application that is developed for both is called Universal application.
If you have developed application for iPhone only then it will run on iPad but will not run
on full screen of iPad. To make this application cover the whole screen you have to
convert iPhone application to Universal application that runs on both iPhone and iPad.
If your application is iPhone only. it will look like below in iPhone and iPad:
Corporate Office:
InnovationM Mobile Technologies
E-3 (Ground Floor), Sector-3, Noida 201301 (India)
t: +91 8447 227337 | e: info@innovationm.com
3. | Build a Mobile Experience
www.innovationm.com
After making application universal, it looks like this:
You can do easily by following steps below:
1. Open application in Xcode. Select Project Navigator.
2. Select your Project Target.
3. In Deployment Info section, select Devices. Here you will see 3 options –
iPhone, iPad and Universal. Change from iPhone to Universal.
Corporate Office:
InnovationM Mobile Technologies
E-3 (Ground Floor), Sector-3, Noida 201301 (India)
t: +91 8447 227337 | e: info@innovationm.com
4. | Build a Mobile Experience
www.innovationm.com
4. It will prompt you an alert Copy “Main” to use as main iPad interface. It is
prompting to use the name of the
Storyboard (Main here) to create
another
iPad
group. Normally,
you would select to copy.
5. It will add new iPad group.
6. Add new Storyboard file under the iPad group in Project Navigator. Name it
Main_iPad.storyboard.
7. Change name of iPhone storyboard as Main_iPhone.storyboard from
Main.storyboard.
8. Update entry in plist. Main storyboard file base name – Main_iPhone
9. Add entry in plist. Main storyboard file base name (iPad) - Main_iPad.Now
add your controller, outlet, action to Main_iPad.storyboard.
10. Make changes to Main_iPad.storyboard to make it utilize the complete screen.
This would involve making changes in position, height and width of components.
11. Also, you need to provide images for iPad.
Now you have made your application universal (iPhone and iPad).
Have fun…
Source: http://blogs.innovationm.com/convert-iphone-application-to-universal-application/
Corporate Office:
InnovationM Mobile Technologies
E-3 (Ground Floor), Sector-3, Noida 201301 (India)
t: +91 8447 227337 | e: info@innovationm.com