From b2045a14a57e4c0d5cf7fff0fb66d479c7efd1a8 Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Tue, 6 Sep 2016 13:33:19 +0200 Subject: [PATCH] [PhotosUI] PHContentEditingController as a model is useless. --- src/photosui.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/photosui.cs b/src/photosui.cs index b95912626438..b8d0565a8f27 100644 --- a/src/photosui.cs +++ b/src/photosui.cs @@ -9,8 +9,12 @@ namespace XamCore.PhotosUI { [iOS (8,0)] [Protocol] +#if !XAMCORE_4_0 && !TVOS + // According to documentation you're supposed to implement this protocol in a UIViewController subclass, + // which means a model (which does not inherit from UIViewController) is not useful. [Model] [BaseType (typeof (NSObject))] +#endif interface PHContentEditingController { [Abstract]