Post

Replies

Boosts

Views

Activity

Reply to Get many crashes on iOS16 beta4 due to "Cannot form weak reference to instance of class _UIRemoteInputViewController. It is possible that this object was over-released, or is in the process of deallocation."
@interface CustomApplication : UIApplication @end @implementation CustomApplication (void)sendEvent:(UIEvent *)event { if (event.type == UIEventTypeTouches) { for (UITouch *touch in event.allTouches) { NSString *windowName = NSStringFromClass([touch.window class]); if ([windowName isEqualToString:@"UIRemoteKeyboardWindow"]) { return; } } } [super sendEvent:event]; } @end
Apr ’23