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

  • Home
  • SEARCH
  • 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 8894765
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T23:35:28+00:00 2026-06-14T23:35:28+00:00

I have to retrieve image from rest service url.But I don’t have a separate

  • 0

I have to retrieve image from rest service url.But I don’t have a separate URL for image(path of the image).I m getting it in a XML file.I did parsing of XML and stored it in an array.Now I couldn’t understand how to retrieve image from it ..
My array looks like this:

   (
    {
    Image = "

    9j/4AAQSkZJRgABAQAAAQABAAD//gA7Q1JFQVRPUjogZ2QtanBlZyB2MS4wICh1c2luZyBJSkcgSlBFRyB2NjIpLCBxdWFsaXR5ID0gODAK/9sAQwAGBAUGBQQGBgUGBwcGCAoQCgoJCQoUDg8MEB
    cUGBgXFBYWGh0lHxobIxwWFiAsICMmJykqKRkfLTAtKDAlKCko/9sAQwEHBwcKCAoTCgoTKBoWGigoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgo/8AA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KAFpKKKACilpKACiii
gAooooASiiigAooooASilpKACkpaKAEpKU0UAJRRRQAlIaWikMSkpaKQDaKWkoASilNJQAlJSmigBtJTqSkMaaSnUhoGNNJTjSUgEFPWminCmA4U4UgpwpoQopRSCnUCFFOFNpwpgxRS0UuKYhhqNhUpqNhQBXcVVlq3IKqy1LGVyOaeopAMmrEceaEhNkZ4FR5JNW3i4pscGWq7E3GRoTU6Rmp44farkdvkdKdgK0MXNXYoulSRwY7VajjwKkYxI6mRBT
1WngYpgN2UhWpKaapCIyKSnGkqhCUUtJigQlFLSUAFFFFAC0lFFABRS0lABRiiigBKKWkoAKSlopgJSUtBoASiiigBKDRRQBHJ0rOuh1rSk6VnXXQ0MDJlHzGoWFTyj5jURrFlohccVBjmrDjioSOaBk9qOT9K2tNrGtepra02miWcptNOANSCNvSnbG9KmxdyIA04A1IEb0pQp9KLBcYM0vNSBT6UoU+lFguR804Zp+0+lGPaiwXGgmlyacF9qXHtRYLjQTS5NOx7UuPaiwCZNKGpQPalA9qLAIGpQ1LgUYosAbqdupMUuBQFwDU7NJijFAXF3Uu6kxRigLjt1LupuKMUBceDRupuKMUwuSbqN1MxS4oEP3UbqZilwaAH5pc0zFGDQA/dRupmDRzQA/dS7qZzRzQA/dRupnNHNAEm6jdTOaM0ASbqN1R0ZoAk3UbqjzRmgCTdRuqPNGaAJN1G6o80ZoAk3UbqZmkzQBLuo3VFmlzQBJuo3VHmjNAEu6jdUWaM0AS7qN1RZo3UAS7qN1RbqTdQBNuo3VDuozQBNuo3VDmjdQBNuo3VDuo3Uhku6jdUO6jdQBNuo3VDupN1AE26jdUO6jdQBNuo3VDuo3Ug
         //big array </Image>
        }
        )

I couldn’t understand what format(byte array or base64?) is this coming from service?
How to retrieve image from this in a tableViewCell?

  • 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-14T23:35:29+00:00Added an answer on June 14, 2026 at 11:35 pm

    This format is base64 then you should decode this string into data and get image. Use nsdata+ base64 class and import those class in your project.

    Use + (NSData *)decodeBase64WithString:(NSString *)strBase64; method in your code. call like this

     NSData *imageData = [NSData decodeBase64WithString:strBase64];
    

    Edit:

     NSString *yourBase64String = [yourDictionary valueForKey:@"Image"];
     NSData *imageData = [NSData decodeBase64WithString:yourBase64String];
     UIImage * image = [UIImage imageWithData:imageData];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to get an image from an URL but when I save it
I have a class that is used to store and retrieve image data from
Suppose I have an activity to select an image from the gallery, and retrieve
I need to retrieve a png image from the Internet. I have the correct
i have to retrieve image of all size from server to android mobile with
I have the following function that retrieves an image from a twitter feed, the
I have never saved and retrieved an image to and from the database before.
in a C# project written with MVC1 I have to retrieve a XML message,
Basically, I want to have my program retrieve various variables from the hard drive
I have installed splunk to retrieve information from my log files and elert me

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.