What is the lowest level official input interface for input that can be obtained from developers? (Iphone)

What is the lowest level official input interface for input that can be obtained from developers? (Iphone)

+3
source share
2 answers

In my experience, the lowest level at which you can intercept and handle all touches is UIApplication (its derivation from UIResponder). There is nothing difficult, since you only need to redefine:

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

Source: https://habr.com/ru/post/1733409/


All Articles