什么是最低级别官员接触输入接口,可从开发商?(iPhone)
题
什么是最低级别官员接触输入接口,可从开发商?(iPhone)
解决方案
据我的经验,最低水平在那里你可以截获并处理所有的接触是的UIApplication(其从UIResponder派生)。没有什么真的很难在这里,因为你只需要改写:
- (void)sendEvent:(UIEvent *)event { [super sendEvent:anEvent]; /* Place your custom */ /* processing code here*/ }
其他提示
该接触的对象内的UIResponder类。
你有访问touchesMoved,touchesBegan,并touchesEnded.你可以做任何事情与这些。
不隶属于 StackOverflow