HOW TO – 杂七杂八2
星期三, 五月 18th, 2011设备不会自动休眠
1 | application.idleTimerDisabled = YES; // we don't want the screen to sleep during our game |
接收多点touch(self是UIView)
1 | self.multipleTouchEnabled = YES; |
设备不会自动休眠
1 | application.idleTimerDisabled = YES; // we don't want the screen to sleep during our game |
接收多点touch(self是UIView)
1 | self.multipleTouchEnabled = YES; |