0

Please help me. I have next issue:

I want to handle touchesMoved: event in my subclass of UIViewController (I have an view with view controller), but when I call [aTouch locationInView:self] got an exception 'NSInvalidArgumentException', reason: '-[MySomeSubclass convertPoint:fromView:]: unrecognized selector sent to instance 0xdc64000'.

Can anyone explain me, why I got that exception and how to fix it.

Thanks.

Lexandr
  • 679
  • 1
  • 6
  • 22

1 Answers1

3

Should be: [aTouch locationInView:self.view]

mkral
  • 4,065
  • 4
  • 28
  • 53