iPhone touch rect / status pane area

Nibbie
Posts: 2
Joined: 2008.09
Post: #1
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...
Quote this message in a reply
Moderator
Posts: 3,572
Joined: 2003.06
Post: #2
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.
Quote this message in a reply
Member
Posts: 21
Joined: 2008.10
Post: #3
I have the same issue.

We can talk about it now since the NDA is gone, right?
Quote this message in a reply
Post Reply