Skip to content

Commit

Permalink
[uikit] Small update for Xcode 8.2 beta 1 (#1098)
Browse files Browse the repository at this point in the history
* UICloudSharingPermissionOptions is not part in watchOS. It's an enum so
  it's not a big issue (worth a breaking change) -> XAMCORE_4_0

* Remove TODO on UICloudSharingController as Apple fixed our rdar 27929711
  • Loading branch information
spouliot authored Nov 3, 2016
1 parent d6591b1 commit 67ac045
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion src/UIKit/UIEnums.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1949,7 +1949,13 @@ public enum UIAccessibilityCustomRotorDirection : nint
Next
}

[iOS (10,0), TV (10,0), NoWatch]
#if XAMCORE_4_0
[NoTV]
#else
// Xcode 8.2 beta 1 added __TVOS_PROHIBITED but we need to keep it for binary compatibility
[TV (10,0)]
#endif
[iOS (10,0)][NoWatch]
[Native]
[Flags]
public enum UICloudSharingPermissionOptions : nuint {
Expand Down
2 changes: 1 addition & 1 deletion src/uikit.cs
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ interface UICloudSharingControllerDelegate {
[iOS (10,0), NoTV, NoWatch]
delegate void UICloudSharingControllerPreparationCompletionHandler ([NullAllowed] CKShare share, [NullAllowed] CKContainer container, [NullAllowed] NSError error);

[iOS (10,0), NoTV, NoWatch] //TODO: This is marked as available on tvOS 10 but it isn't radar: 27929711
[iOS (10,0), NoTV, NoWatch]
[BaseType (typeof (UIViewController))]
interface UICloudSharingController {

Expand Down

0 comments on commit 67ac045

Please sign in to comment.