Skip to content

Instantly share code, notes, and snippets.

@samilamti
Created October 22, 2012 10:57
Show Gist options
  • Save samilamti/3930965 to your computer and use it in GitHub Desktop.
Save samilamti/3930965 to your computer and use it in GitHub Desktop.
Creating a remote window
void CreateRemoteWindow (UIScreen connectedScreen)
{
RectangleF frame = connectedScreen.Bounds;
this.remoteWindow = new UIWindow (frame) {
Screen = connectedScreen,
Hidden = false,
};
this.remoteWindow.RootViewController = aControllerOfMyChoosing;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment