0

Here is psuedo code for my tweak

SBSearchViewController vcont = ...;
UIWindow window = ...;
[window retain];
window.windowLevel = 9999*9999;
window.hidden = NO;
window.rootViewController = vcont;
[window addSubview:vcont.view];
[window makeKeyAndVisible];

When there is a rotation event the keyboard successfully rotates but the actual contents of the UIWindow does not. This is a common problem but I don't know how to fix it. Any ideas?

twodayslate
  • 2,803
  • 3
  • 27
  • 43

1 Answers1

1

Remove this line:

[window addSubview:vcont.view];
John Estropia
  • 17,460
  • 4
  • 46
  • 50