diff options
Diffstat (limited to 'src/nativewindow')
-rw-r--r-- | src/nativewindow/classes/com/jogamp/nativewindow/NativeWindowFactory.java | 2 | ||||
-rw-r--r-- | src/nativewindow/native/ios/IOSmisc.m | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/nativewindow/classes/com/jogamp/nativewindow/NativeWindowFactory.java b/src/nativewindow/classes/com/jogamp/nativewindow/NativeWindowFactory.java index 8e00d318c..63063bef7 100644 --- a/src/nativewindow/classes/com/jogamp/nativewindow/NativeWindowFactory.java +++ b/src/nativewindow/classes/com/jogamp/nativewindow/NativeWindowFactory.java @@ -103,7 +103,7 @@ public abstract class NativeWindowFactory { public static final String TYPE_MACOSX = ".macosx"; /** iOS type, as retrieved with {@link #getNativeWindowType(boolean)}. String is canonical via {@link String#intern()}. */ - public static final String TYPE_IOS = ".iOS"; + public static final String TYPE_IOS = ".ios"; /** Generic AWT type, as retrieved with {@link #getNativeWindowType(boolean)}. String is canonical via {@link String#intern()}. */ public static final String TYPE_AWT = ".awt"; diff --git a/src/nativewindow/native/ios/IOSmisc.m b/src/nativewindow/native/ios/IOSmisc.m index 70cff4c06..1983143df 100644 --- a/src/nativewindow/native/ios/IOSmisc.m +++ b/src/nativewindow/native/ios/IOSmisc.m @@ -367,6 +367,7 @@ NS_DURING if(NULL != subviews) { for(int i=0; i<[subviews count]; i++) { UIView* sub = [subviews objectAtIndex: i]; + [sub removeFromSuperview]; [sub setHidden: YES]; [sub release]; } |