forked from joejulian/gio
app: [iOS] replace ViewEvent.View with add ViewController field
For mixing native UI with Gio UI, the UIViewController is sometimes needed, not just the UIView. This change replace the View field of ViewEvent with ViewController. Signed-off-by: Inkeliz <inkeliz@inkeliz.com>
This commit is contained in:
+1
-1
@@ -30,7 +30,7 @@ CGFloat _keyboardHeight;
|
||||
#endif
|
||||
drawView.preservesSuperviewLayoutMargins = YES;
|
||||
drawView.layoutMargins = UIEdgeInsetsMake(0, 0, 0, 0);
|
||||
onCreate((__bridge CFTypeRef)drawView);
|
||||
onCreate((__bridge CFTypeRef)drawView, (__bridge CFTypeRef)self);
|
||||
[[NSNotificationCenter defaultCenter] addObserver:self
|
||||
selector:@selector(keyboardWillChange:)
|
||||
name:UIKeyboardWillShowNotification
|
||||
|
||||
Reference in New Issue
Block a user