views:

23

answers:

0

Hi,

I am just trying to program a simple drawing program. Along with drawing, I would like to know the points that I am currently touching. I am just using a window, subclassed viewController and a subclassed view.I also hid the status bar. Everything seems to work the way it is supposed to. The thing is that I can't get it to draw with my finger past any point of 470 on the y-axis. I can explicitly draw to the area. I draw a line from 0,480 to 320,480 and have no problems. When I drag my finger down, it stops short of the end of the screen at 470. On the way up, i can get events from 0,-6 to 320,-6 which doesn't make any sense to me. I think something might be shifted but every output of frame and bounds and the like says the same thing, Origin is at 0,0 and the w/h is 320,480. Any idea on what I can do? I am totally stuck.

Thanks for any help you can give.