diff --git a/HelloWorld_iPhone/Entitlements.plist b/HelloWorld_iPhone/Entitlements.plist new file mode 100644 index 00000000..6fe7bb95 --- /dev/null +++ b/HelloWorld_iPhone/Entitlements.plist @@ -0,0 +1,6 @@ + + + + + + diff --git a/HelloWorld_iPhone/HelloWorld_iPhone.csproj b/HelloWorld_iPhone/HelloWorld_iPhone.csproj index fd5e81fc..2fef549d 100644 --- a/HelloWorld_iPhone/HelloWorld_iPhone.csproj +++ b/HelloWorld_iPhone/HelloWorld_iPhone.csproj @@ -22,6 +22,7 @@ False None True + Entitlements.plist none @@ -31,6 +32,7 @@ 4 False None + Entitlements.plist True @@ -43,6 +45,7 @@ False True iPhone Developer + Entitlements.plist none @@ -52,6 +55,7 @@ 4 False iPhone Developer + Entitlements.plist @@ -61,6 +65,7 @@ + diff --git a/HelloWorld_iPhone/HelloWorld_iPhoneViewController.cs b/HelloWorld_iPhone/HelloWorld_iPhoneViewController.cs index 48a71ad5..c0ca49bb 100644 --- a/HelloWorld_iPhone/HelloWorld_iPhoneViewController.cs +++ b/HelloWorld_iPhone/HelloWorld_iPhoneViewController.cs @@ -38,20 +38,6 @@ namespace HelloWorld_iPhone } - public override void ViewDidUnload () - { - base.ViewDidUnload (); - - // Release any retained subviews of the main view. - // e.g. this.myOutlet = null; - } - - public override bool ShouldAutorotateToInterfaceOrientation (UIInterfaceOrientation toInterfaceOrientation) - { - // Return true for supported orientations - return (toInterfaceOrientation != UIInterfaceOrientation.PortraitUpsideDown); - } - /// /// This is our common action handler. Two buttons call this via an action method. ///