Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I develop app for the iPad mini [duplicate]

Possible Duplicate:
Dealing with iPad Mini screen size

I want to develop app for the iPad Mini, and my app also should work on iPad but the iPad mini simulator doesn't come with the Xcode 4.5.

Is there any way I can see what my app is going to look like on the new iPad Mini ?

I have One doubt.. Suppose i want my label in center of my iPad as well in iPad mini then how should i take care of that ?

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 can see my label will be in center..

but if i will run my same code in iPad mini then according to x position 350 my label will be at extreme right it will not be in center..

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

Any help will be appriciated.

like image 774
Krunal Avatar asked Nov 27 '22 22:11

Krunal


1 Answers

The iPad mini is the same (has the same screen resolution) as the iPad 1 and iPad 2. There is nothing different that you need to do to support the iPad mini.

like image 72
rmaddy Avatar answered Dec 04 '22 05:12

rmaddy