touchesbegan

UIViewController subclass not receiving touchesBegan iphone ipad

Hey all, So I subclassed UIViewController and in the nib I have a UIView, and in it a tableview. It is my understanding that both UIViewController and UIView are subclasses of UIResponder, so they should receive the - (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event method. However, this is not the case, and my view contr...

Animate a spinning cube after touch event - iPhone objective c

I have a UIViewController implementation which builds a core image cube and rotates it while there are touches events occuring. It has the following methods: initController touchesBegan touchesMoved touchesEnded continueSpinning I am trying to continue rotating the cube after the touchesEnded fires for an amount of time (say 2 sec...

Second UIScrollView responding when using a UIScrollView

Hi all, This is more of a check as I believe this is right but its a lot of work if I'm wrong. I want to basically achieve fixed positioning with a scrollView. I want to have a list along the top that is always visible, scrolls horizontal only and then a scrollview beneath that to move around the information which scrolls both vertical...

touchesBegan method is not being called

I am trying to detect touches, but the touchesBegan method is not being called. In my ViewController, I have added the touchesBegan method. My Nib files owner is set to the correct V.C. The Nib itself consists of the view, with a scroll view and a tab bar. Nested in the scroll view is an image view, which has user interaction enabled. W...

Part of the uiview doesn't call touchesBegan for view on top of uisplitview

I'm writting an ipad app with a uisplitview. Once a user taps on a button, I display another view in full screen by removing the uisplitview from the stack and pushing the new view. The problem I have is that the new uiview only gets touchesBegan for 3/4 of the screen. It seems like that is the same area used up for the uidetailview in...

XCode - touchBegan - Recent Touches/New Touches

Hey all, I have been using touches began to track as many as 8 touches, and each triggers an event. These touches can occur at the same time, or staggered. - (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event { NSLog(@"Touch Began"); NSSet *allTouches = [event allTouches]; for (int i=0; i<allTouches.count; i++)...

When the user has two fingers on the screen and lifts one I want nothing to happen.

enough is enough. like the title says, I'm in a bit of a pickle. so here's the outline of my problem. I have this ship right. It rests in the center bottom of the screen (240,0). When the user touches to the right at a point greater than 240 the ship moves right. And left if the user touches at a point less than 240. HOWEVER this is gr...

TouchesBegan only in specific UIView!

Hi guys! I got three views. UIView *view1; UIView *view2; UIView *view3; -(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event { UITouch *touch =[touches anyObject]; CGPoint startPoint =[touch locationInView:self.view]; } But i want that the toch-action only go in view2. It doesnt work if i make: locationInView:view2 -(...

How to Zoom In/Out Photo on double Tap in the iPhone WWDC 2010 - 104 PhotoScroller

Hi All, I am going through the Sample code of iPhone WWDC 2010 - 104 PhotoScroller App. It's working great with my project related images (PDF Page Images) but I am struggling detect touches in the PhotoScroller App. The Zooming using multiple touches is handled by the ScrollVoiew. Now I want to Zoom In/out the photo on double Tap. The...

Own Delegate Method

Good Morning Users, i have implemented the follwing deleagate Method: - (void)openFlowView:(AFOpenFlowView *)openFlowView doubleTapOnIndex:(int)index itemView:(AFItemView *)itemView{ NSLog(@"Der Touch geht!!!!!"); } And there the method should be prompted and called: - (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)eve...

self.viewDelegate = 0x0 why?

Good Morning to all, i have a little question, in this following Code the self.viewDelegate is 0x0 and i don't know how to solve this problem. Should i have to go to the interface Builder?? - (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event { UITouch *touch = [[event allTouches] anyObject]; if ([touch tapCount] =...