locked
SDWebImage and FFImageLoading Cannot Load Picture from http url RRS feed

  • Question

  • User280979 posted

    hi friends in my app i can load http url in web view but i cant load pictures that contain http in url and show them with ffimageloading or sdwebimages please help me

    Monday, June 5, 2017 10:39 PM

Answers

  • User280979 posted

    @JGoldberger so thnak that answer to me but the solution of thia problem is: This issue is that when you are building for release/appstore version and the iOS project settings are configured as iOS Build -> Advanced -> Supported Architectures (ARMv7 + ARM64) (required for a AppStore release) this breaks image loading. But if you change this setting to (Armv7) only and rebuild which is what Debug builds seem to default to it works fine.

    I've seen this problem in a few Xam.Plugins projects as well and found a few lines of code that made the difference...

    • Marked as answer by Anonymous Thursday, June 3, 2021 12:00 AM
    Tuesday, June 6, 2017 6:23 AM

All replies

  • User21936 posted

    @SohailAhmadkhanbeygi

    This sounds like an Apple ATS (App Transport Security) issue. By default now (since iOS 9) you can not access anything from a Http url unless you grant access to all or specific Http domains. I mean Http as opposed to Https (secure). See this for more info: https://developer.xamarin.com/guides/ios/platformfeatures/introductionto_ios9/ats/

    Tuesday, June 6, 2017 12:58 AM
  • User280979 posted

    @JGoldberger so thnak that answer to me but the solution of thia problem is: This issue is that when you are building for release/appstore version and the iOS project settings are configured as iOS Build -> Advanced -> Supported Architectures (ARMv7 + ARM64) (required for a AppStore release) this breaks image loading. But if you change this setting to (Armv7) only and rebuild which is what Debug builds seem to default to it works fine.

    I've seen this problem in a few Xam.Plugins projects as well and found a few lines of code that made the difference...

    • Marked as answer by Anonymous Thursday, June 3, 2021 12:00 AM
    Tuesday, June 6, 2017 6:23 AM