iPhone touch rect / status pane area
Hi People,
Do anybody know how to get touch events on the status pane area? My code sets sp to hidden, in IB both the window and view are full sized, and in the code I get the whole screen for both the "frame" and "bounds", but touchesBegan() not called if I click/press on the sp area. Any idea or hint?
code:
[application setStatusBarStyle:UIStatusBarStyleBlackOpaque animated:NO];
[application setStatusBarHidden:YES animated:NO];
CGRect rect = [window bounds];
CGRect frame = [window frame];
CGPoint cent = [window center];
CGRect fullScreenRect = [UIHardware fullScreenApplicationContentRect];
CGSize mainScreenRect = [UIHardware mainScreenSize];
[UIHardware _setStatusBarHeight:0.0f];
fullScreenRect = [UIHardware fullScreenApplicationContentRect];
mainScreenRect = [UIHardware mainScreenSize];
this code sets the window to proper size but I still don't have touch events on the sp's area...
Do anybody know how to get touch events on the status pane area? My code sets sp to hidden, in IB both the window and view are full sized, and in the code I get the whole screen for both the "frame" and "bounds", but touchesBegan() not called if I click/press on the sp area. Any idea or hint?
code:
[application setStatusBarStyle:UIStatusBarStyleBlackOpaque animated:NO];
[application setStatusBarHidden:YES animated:NO];
CGRect rect = [window bounds];
CGRect frame = [window frame];
CGPoint cent = [window center];
CGRect fullScreenRect = [UIHardware fullScreenApplicationContentRect];
CGSize mainScreenRect = [UIHardware mainScreenSize];
[UIHardware _setStatusBarHeight:0.0f];
fullScreenRect = [UIHardware fullScreenApplicationContentRect];
mainScreenRect = [UIHardware mainScreenSize];
this code sets the window to proper size but I still don't have touch events on the sp's area...
Can't talk about iPhone specifics because we're under NDA, sorry. I will dare to say that I've had problems with that in the simulator but not on the device.
I have the same issue.
We can talk about it now since the NDA is gone, right?
We can talk about it now since the NDA is gone, right?
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| How much can I stuff in to video ram? (on iPhone/iPod touch) | Jamie W | 9 | 7,952 |
Aug 6, 2010 05:23 AM Last Post: mariocaprino |
|
| iPhone Only? Not for iPod Touch? | daveh84 | 4 | 3,703 |
May 7, 2010 10:46 PM Last Post: cmiller |
|
| Incoming call status bar and full-screen open GL. | Madrayken | 2 | 2,784 |
Jan 21, 2010 08:10 AM Last Post: Madrayken |
|
| What’s your favorite iPhone and iPod touch application/game | dimitri8620 | 3 | 3,551 |
Nov 23, 2009 12:00 AM Last Post: Orlendez |
|
| Setting A Non-Rectangular Clip Area In GLES | muleskinner | 5 | 3,122 |
Oct 20, 2009 01:03 AM Last Post: muleskinner |
|

