Iphone sdk examples | Iphone App/Game Devloper
My Self Rahul Virja i worked on iphone apps & game developing from Ahmadabad(India).
Wednesday, 31 October 2012
How to check Device is iphone 4 or iphone 5
float height = [UIScreen mainScreen].bounds.size.height;
if (height==568) {
self.deviceType = 5;
}
else
{
self.deviceType = 4;
}
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)