How to convert ios 5 layout from ipad to iphone?

I developed a group of views using the code and interface builder on an iPad running iOS5. IB uses MainStoryBoard_iPad.storyboard. Now I want to use the application on the iPhone. I did not think that I would make this port, but now I want to do it.

Option 1 I tried to copy MainStoryBoard_iPad.storyboard, rename it to MainStoryBoard_iPhone.storyboard and run the application. This work is for code, but IB has different relationships, positions and sizes, and the interface does not look good.

Option 2 I tried to copy the view, elements, from the ipad and paste it into the iphone layout, but this is not possible, and I think the same thing will happen, the size problems.

Does anyone know if there is a semi-automatic method for this?

I am considering applying a reduction factor to all sizes and positions of an application, but I have many values ​​to change.

+4
source share
1 answer

I think you are out of luck for the semi-automatic method.

Here is a tutorial describing iPhone transfers to iPad. http://www.raywenderlich.com/1111/how-to-port-an-iphone-application-to-the-ipad

Hope this helps.

+4
source

All Articles