Created
October 22, 2012 10:57
-
-
Save samilamti/3930965 to your computer and use it in GitHub Desktop.
Creating a remote window
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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