Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8680315
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T21:13:02+00:00 2026-06-12T21:13:02+00:00

I am able to successfully look up an image from the ALAssetsLibrary and use

  • 0

I am able to successfully look up an image from the ALAssetsLibrary and use the UIImage in native views.

Is it possible to use that same asset’s url (for example: assets-library://asset/asset.JPG?id=88AA03C4-E53F-4FE2-9752-9DA675D1FAF7&ext=JPG) in a UIWevView as the source for an img tag?

<img src="<the asset>">

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T21:13:03+00:00Added an answer on June 12, 2026 at 9:13 pm

    You can’t use this URL from a UIWebView as the URL scheme assets-library:// is only understood by classes from AVFoundation(AVAsset) and AssetsLibrary.
    To display images from the AssetsLibrary in a UIWebView, the following 2 approaches should work:

    1) Implement a small webserver in your application and let it serve the images from AssetsLibrary. So in your UIWebView, you would reference these images like that

    The webserver would then generate a dynamic response returning the image data from AssetsLibrary for the asset with the specified ID.

    2) Another approach would be to generate the webPages completely in your cocoa code and then set the content of the UIWebView using the loadHTMLString:baseURL: method. In the generated HTML code, you would then embed the images from assets-library as Base64-Images/Data-URIs (see here for further reference: Embedding Base64 Images)

    Which method works best for you depends on the concrete scenario.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

So I've been able to successfully generate an IJavaProject from within my Eclipse Plug-In,
Has anyone been able to successfully get HighCharts to use ThemeRoller themes in order
I am successfully able to receive push notification on my device which is of
I am successfully able to authenticate Facebook and Google accounts using my Oauth2 servlets.
I'm able to successfully set the options for my select list but the selected
I was able to successfully run an RF model using some R code I
I was able to successfully configure and generate the build folder (KinectSLAM6D/build.). However, when
I am able to successfully call a function with ctypes in Python. I now
Hi I'm able to successfully integrate iphone app with facebook framework. But I need
I am able to successfully execute this on windows: builder = new ProcessBuilder(cmd.exe, /c,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.