Bug 34108 - always null problem with NSData.FromUrl
Summary: always null problem with NSData.FromUrl
Alias: None
Product: iOS
Classification: Xamarin
Component: General ()
Version: XI 9.0 (iOS9)
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
Depends on:
Reported: 2015-09-21 08:03 UTC by torch
Modified: 2015-09-22 08:42 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 torch 2015-09-21 08:03:16 UTC
After todays update of xamarin on the iOS side, my soft have problem with NSData.FromUrl(... that always returns null for correct urls. Did some of You have similar problems?
Comment 1 Sebastien Pouliot 2015-09-21 08:26:55 UTC
I suspect your URL is using HTTP.

By default iOS 9 disallow HTTP access to download content. You need to either
swicth to HTTPS (Apple's preference) or opt-in [1] to continue using unsecured

[1] by modifying your Info.plist, see ""App Transport Security has blocked a
cleartext HTTP (http://) resource load since it is insecure." in XI 9.0 release
post on the forums.

Comment 2 torch 2015-09-22 02:11:03 UTC
Only one thing after monday xamarin update and xcode update, on iOS. There was a strange behave when I open view controllers in xCode, because images for my backgrounds and buttons are not loaded correctly. And ewerywhere are question marks. Is there some solution for that ?
Comment 3 Sebastien Pouliot 2015-09-22 08:42:48 UTC
Another bug was filled for comment #2. I assume that the NSData issue was fixed by the Info.plist change (since no further indication was given). If not then please attach a test case and re-open this bug. Thanks