Created
October 22, 2012 08:01
-
-
Save samilamti/3930232 to your computer and use it in GitHub Desktop.
Listening to connecting screens
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
NSNotificationCenter.DefaultCenter.AddObserver (UIScreen.DidConnectNotification, notification => { | |
UIScreen connectedScreen = (UIScreen)notification.Object; | |
CreateRemoteWindow(connectedScreen); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment