Bug 35123 - UIKit.UIApplicationShortcutItem.set_UserInfo throws NotImplementedException
Summary: UIKit.UIApplicationShortcutItem.set_UserInfo throws NotImplementedException
Status: VERIFIED FIXED
Alias: None
Product: iOS
Classification: Xamarin
Component: Xamarin.iOS.dll ()
Version: XI 9.0 (iOS9)
Hardware: PC Mac OS
: --- normal
Target Milestone: C6SR1
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-10-20 21:06 UTC by Frank A. Krueger
Modified: 2015-10-29 03:28 UTC (History)
4 users (show)

Tags:
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:
Status:
VERIFIED FIXED

Description Frank A. Krueger 2015-10-20 21:06:37 UTC
Repro:

var item = new UIMutableApplicationShortcutItem("open", name);
item.UserInfo = new NSDictionary<NSString, NSObject> (
	keys: new[] {new NSString("Hello")},
	values: new NSObject[] {new NSString("World")});


System.NotImplementedException: The requested feature is not implemented.
   at UIKit.UIApplicationShortcutItem.set_UserInfo (Foundation.NSDictionary`2 value) [0x00000] in /Users/builder/data/lanes/2128/155d35b9/source/maccore/src/build/ios/native/UIKit/UIApplicationShortcutItem.g.cs:229
Comment 1 Rolf Bjarne Kvinge [MSFT] 2015-10-21 04:10:58 UTC
Fixed.

maccore/master: 78ed25f4e550fc9b7d793950e63a69dd92c2512b
Comment 3 Shruti 2015-10-26 09:32:11 UTC
***************************************************************************
Reproduce Status :
***************************************************************************
I am able to reproduce this  issue on Alpha monotouch-9.2.0.84_b5396c29ec2b327de2dd542c8d57fd7312368ba7. On implementing above code, I am getting System.NotImplementedException.
Screencast: http://www.screencast.com/t/Jo5vy48DOm

***************************************************************************
Verify Status :
***************************************************************************
I have checked this issue on latest master monotouch-9.3.0.182_8e3d23dce2dda3f1b006d8e72ed52155559e7459. Now it is working fine. 
Screencast: http://www.screencast.com/t/TkfpruzL7bhl
Environment Info: https://gist.github.com/shrutis360/d19fb24eb77a251ad2cb
Comment 5 Shruti 2015-10-29 03:28:22 UTC
I have checked this issue with latest C6 monotouch-9.2.1.21_9ce9e8b98427671bb17a5c5ba2263f15b28216bc and able to sucessfully deploy and launch applications having code snippet:
var item = new UIMutableApplicationShortcutItem("open", name);
item.UserInfo = new NSDictionary<NSString, NSObject> (
    keys: new[] {new NSString("Hello")},
    values: new NSObject[] {new NSString("World")});

Screencast: http://www.screencast.com/t/YM4rIsjP
Environment Info: https://gist.github.com/shrutis360/b8069c5000991d057e65


Hence, Closing this issue.