how to identify touch in UIViewController

Discussion in 'iOS Programming' started by sujithkrishnan, Sep 3, 2008.

  1. macrumors 6502

    May 9, 2008
    HI ...

    How to track user-touch events in UIViewController class...

    i tried giving self.view .delegate = self;

    Still all those touchBegan, touchMoved, etc methods didnt worked.....

    But i created a separate UIView class and wrote all those methods in that, and assigned a object of that class as its view

    self.view = myView

    How to put those delegate methods for "touch" in UIViewController class?

Share This Page