2011-03-02 5 views

答えて

0

読むUIResponder Class Reference今のあなたは、実装することができ

  • (無効)touchesBegan:(たUIEvent *)イベント
:(NSSet *)はwithEventに触れます

メソッドをviewControllerクラスに追加し、可能であればNavControllerを押してotherViewControllerをロードします。あなたはタッチ

- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event 
{ 
    //Get all the touches. 
    NSSet *allTouches = [event allTouches]; 

    //Number of touches on the screen 
    if([allTouches count] > 0) 
    { 
//Navigate to next screen here likewise you generally do 
    } 
else 
{ 

} 

} 

幸運のこの方法を利用することができ

関連する問題