Bug 38115 - Xamarin Studio misinterprets the 'Unavailable' attribute used in xamarin.ios
Summary: Xamarin Studio misinterprets the 'Unavailable' attribute used in xamarin.ios
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: iOS add-in ()
Version: Trunk
Hardware: PC Mac OS
: High normal
Target Milestone: (C7)
Assignee: David Karlaš
Depends on:
Reported: 2016-01-28 00:56 UTC by Alan McGovern
Modified: 2016-06-02 09:38 UTC (History)
2 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 Alan McGovern 2016-01-28 00:56:43 UTC
If you have an iOS app and override the 'awakefromnib' method and call 'base.AwakeFromNib', XS will tell you the API is unavailable. Its actually only unavailable in watchos.

Comment 1 Jeffrey Stedfast 2016-01-28 17:40:03 UTC
I'm not at all familiar with how this code works.

David, can you look at this?
Comment 2 Alan McGovern 2016-02-08 16:01:49 UTC
XS tells me pretty much everything is unavailable. We should fix this before alpha
Comment 3 xamarin-release-manager 2016-02-09 09:53:42 UTC
Fixed in version (master)

Author: David Karlas??
Commit: 0c7d6e08d4e19d7481b224b5e243718187446555 (xamarin/md-addins)
Included in Commit: 65fc1f7f0e39ad40151ee3169092436ff1b05e5a (mono/monodevelop)
Comment 4 Saurabh 2016-06-02 09:38:57 UTC
I have checked this Issue with latest Cycle 7 build and observed that now AwakeFromNib method is available for iOS. This is the screencast for the same: http://www.screencast.com/t/sgU5HB33ejro

Environment details: https://gist.github.com/99527d07fcee7ad7897936a32bfcdaad