什么是最低级别官员接触输入接口,可从开发商?(iPhone)

有帮助吗?

解决方案

据我的经验,最低水平在那里你可以截获并处理所有的接触是的UIApplication(其从UIResponder派生)。没有什么真的很难在这里,因为你只需要改写:

- (void)sendEvent:(UIEvent *)event
{
    [super sendEvent:anEvent];
    /* Place your custom */
    /* processing code here*/
}

其他提示

该接触的对象内的UIResponder类。

http://developer.apple.com/iphone/library/documentation/UIKit/Reference/UIResponder_Class/Reference/Reference.html#//apple_ref/occ/cl/UIResponder

你有访问touchesMoved,touchesBegan,并touchesEnded.你可以做任何事情与这些。

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top