the presentation frame is executed from inside the code
CGRect myViewFrame = self.view.frame;
or screen frame if that is what you want (the device says in the question header)
CGRect screenFrame = [[UIScreen mainScreen] bounds];
or it will return the same status bar minus if visible
CGRect actualyScreenFrame = [[UIScreen mainScreen] applicationFrame];
source
share