Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 08-11-2010, 02:40 PM   #1 (permalink)
Registered Member
 
Join Date: Jan 2010
Posts: 12
gerakis is on a distinguished road
Default Bottom 20 pixels wont detect touch events.

I dont know why, but the very bottom edge of my touch screen refuses to respond to any touch events. Its only about 20 pixels worth. I cant push buttons, scroll a scrollview, or anything. This happens in both the actual device and the simulator. Everything in that area seems to display normally, and I can see it just fine. Every other part of my screen works correctly.

I suspect this has something to do with the status bar at the top. I left it in on purpose, and all of the uiviews that I am using are 460 pixels in length. I have looked around the net a while and cant find any help for this problem.

What would cause this sort of problem? Any tips on how to fix it?
gerakis is offline   Reply With Quote
Old 08-11-2010, 03:31 PM   #2 (permalink)
Beast Mode
 
Join Date: Dec 2008
Age: 21
Posts: 1,971
Bertrand21 is on a distinguished road
Default

Quote:
Originally Posted by gerakis View Post
I dont know why, but the very bottom edge of my touch screen refuses to respond to any touch events. Its only about 20 pixels worth. I cant push buttons, scroll a scrollview, or anything. This happens in both the actual device and the simulator. Everything in that area seems to display normally, and I can see it just fine. Every other part of my screen works correctly.

I suspect this has something to do with the status bar at the top. I left it in on purpose, and all of the uiviews that I am using are 460 pixels in length. I have looked around the net a while and cant find any help for this problem.

What would cause this sort of problem? Any tips on how to fix it?
Are you hiding the status bar?
__________________
Haters gonna Hate
Likers gonna Like
Bertrand21 is offline   Reply With Quote
Old 08-11-2010, 03:49 PM   #3 (permalink)
Registered Member
 
Join Date: Jan 2010
Posts: 12
gerakis is on a distinguished road
Default

No, I am not hiding the status bar. I purposely left it in the app, as being able to check the time, battery, ect seems useful.

I hid it in interface builder, but I just now tried unhiding it and it didn't make a difference anyway.
gerakis is offline   Reply With Quote
Old 08-11-2010, 06:57 PM   #4 (permalink)
Registered Member
 
Join Date: Jan 2010
Posts: 12
gerakis is on a distinguished road
Default

Ok, I figured it out. I was using multiple subviews inside a parent view. One of my subviews toolbars was too close to the bottom of the visible screen area. For some reason the touches were being intercepted by the toolbar, but then they didnt work because it was out of bounds.

I just moved the closest subviews further away and now it works great.
gerakis is offline   Reply With Quote
Reply

Bookmarks

Tags
bottom, events, pixels, touch, twenty

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 354
6 members and 348 guests
bignoggins, Chickenrig, givensur, linkmx, Objective Zero, PlutoPrime
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,657
Threads: 94,118
Posts: 402,894
Top Poster: BrianSlick (7,990)
Welcome to our newest member, jenniead38
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 12:43 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0