2013-01-16 17 views

回答

0

這是很簡單的...

只寫觸摸開始喜歡....

-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event 
{ 
    UITouch *touch=[[event allTouches] anyObject]; 
    if([touch view]!=< your view that you dont want to touch >) 
    { 
     // <# Your Code #> 
    } 
} 
相關問題