Hello i want to get the width and height of my main view. I want the correct value in landscape or portrait mode. I\'ve tried the following:
NSLog(@\"aaa
Do either of the following lines work for you?
[[UIScreen mainScreen] bounds].size.height [[UIScreen mainScreen] bounds].size.width
I suppose you can subtract the height of the status bar? Maybe i'm not understanding your question