Bug 59044 - NSString missing NSItemProviderReading
Summary: NSString missing NSItemProviderReading
Alias: None
Product: iOS
Classification: Xamarin
Component: Xamarin.iOS.dll ()
Version: XI 10.99 (xcode9)
Hardware: PC Mac OS
: Normal normal
Target Milestone: Xcode9
Assignee: Vincent Dondain [MSFT]
Depends on:
Reported: 2017-08-25 15:31 UTC by Chris Hamons
Modified: 2017-09-08 23:03 UTC (History)
3 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Chris Hamons 2017-08-25 15:31:39 UTC
We should check all NSItemProviderWriting/NSItemProviderReading protocol uses in xcode9 for mistakes.
Comment 1 CraigD 2017-09-08 21:18:08 UTC
Suspect `UIImage` as well. The ItemProvider correctly identifies the image type (png or jpeg) but the LoadObject completion's INSItemProviderReading cannot be cast to an image.
Comment 2 Vincent Dondain [MSFT] 2017-09-08 22:56:56 UTC
@craig UIImage is fine wrt the `NSItemProviderReading` protocol: https://github.com/xamarin/xamarin-macios/blob/xcode9/src/uikit.cs#L7195

The issue is somewhere else. See: https://bugzilla.xamarin.com/show_bug.cgi?id=59049
Comment 3 Rolf Bjarne Kvinge [MSFT] 2017-09-08 23:03:01 UTC
I've reviewed (and fixed) NSItemProviderReading/Writing protocols: https://github.com/xamarin/xamarin-macios/pull/2614