How to create an iPad mini app

Possible duplicate:
Working with the iPad mini-screen

I want to develop an application for the iPad Mini, and my application should also work on the iPad, but the iPad mini simulator does not ship with Xcode 4.5.

Is there any way to see how my application will look on the new iPad Mini?

I have one doubt .. Suppose I want my shortcut to be in the center of my iPad as well as in iPad mini, then how do I take care of this?

For ipad

UILabel* label=[[UILabel alloc]init]; label.backgroundColor=[UIColor clearColor]; label.frame=CGRectFrame(350,200,20,20); label.text=@ "First "; [self.view addSubview:label]; 

I see that my mark will be in the center.

but if I run my own code in iPad mini, then, in accordance with x position 350 my shortcut will be in the far right position, it will not be in the center.

How to take care of the screen size in iPad mini as well as iPad?

Any help would be assigned.

+4
source share
1 answer

iPad mini is the same (has the same screen resolution) as iPad 1 and iPad 2. There is nothing else that needs to be done to support iPad mini.

+46
source

Source: https://habr.com/ru/post/1442680/


All Articles