aboutsummaryrefslogtreecommitdiffstats
path: root/src/nativewindow/native/ios/IOSmisc.m
diff options
context:
space:
mode:
Diffstat (limited to 'src/nativewindow/native/ios/IOSmisc.m')
-rw-r--r--src/nativewindow/native/ios/IOSmisc.m1
1 files changed, 1 insertions, 0 deletions
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];
}