I am trying to write a Xamarin.Forms-based app for playing music. I am using the standard Xamarin Forms Dependency Service pattern to create a platform-specific player for iOS which uses the MPMusicPlayerController as documented by Xamarin. When I write the code the MPMusicPlayerController.NowPlayItem property is accessible;
and when I first tested it everything worked OK. I then started trying to listen to notifications from the MPMusicPlayerController and it 'disappeared'; when I debug, the property is missing and when I try to access it I get a deep mono SIGSEGV exception;
Quite often the debugger tries to reference the property and also crashes. So; I took out the notifications and it still happens!