To get the dimensions of the iPhone or iPad screen you can do the following in xcode:
CGRect screenRect = [[UIScreen mainScreen] bounds];
CGFloat screenWidth = screenRect.size.width;
CGFloat screenHeight = screenRect.size.height;
Exploration of Information, Communication and Technology
To get the dimensions of the iPhone or iPad screen you can do the following in xcode:
CGRect screenRect = [[UIScreen mainScreen] bounds];
CGFloat screenWidth = screenRect.size.width;
CGFloat screenHeight = screenRect.size.height;