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 7996559
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T14:44:10+00:00 2026-06-04T14:44:10+00:00

First off I have an app that provides the user information about the amount

  • 0

First off I have an app that provides the user information about the amount of air miles they have travelled based on their input. This information is displayed in many different conversions on a UITableView, for example it shows the amount of centimeters you have travelled and the amount of kilometers you have travelled. All the values are double, now what I want to do with this data is share it. I have decided to choose Facebook, In-App Email, SMS and Twitter. I could display/share the data like this:

Kilometres      2000.28

Miles          1400.33

Centimetres     20000000.238 

Yards            100039.02

(Values are made up)

But that would be impractical and quite ugly, especially for twitter. So I had an idea to display it as a data table template, like below. (Except with the text in of course!) How could I do this? Would I display it and attach it as an image, or text? Are there any APIs out there that can do this?

Visual Representation:

Data Table

  • 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-04T14:44:12+00:00Added an answer on June 4, 2026 at 2:44 pm

    I would dynamically create a UIView with the layout you want and turn that into an image via UIGraphicsGetImageFromCurrentImageContext(), example class method below. After generating the UIImage post that to Facebook..

    + (UIImage *) imageWithView:(UIView *)view {
    UIGraphicsBeginImageContextWithOptions(view.bounds.size, view.opaque, 0.0);
    [view.layer renderInContext:UIGraphicsGetCurrentContext()];
    
    UIImage * img = UIGraphicsGetImageFromCurrentImageContext();
    
    UIGraphicsEndImageContext();
    
    return img;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

First off, The Problem: We have a Web App with a Flash front-end that
First off I should say that I don't have any experience in working with
first, I can't stand Crystal! Okay, that's off my chest... Now, we have an
First off, I'm using Access 2000 and DAO. I have code that executes a
First off, I'm working on an app that's written such that some of your
I have a drum app that I've created basing it off of AVAudioPlayer instead
so im working on my first app and i have a question about images
First off thanks to all the users who have made my android developing adventure
First off - apologies for the poor title, I have no idea how to
First off, I'm aware this is a bad practice and I have answered many

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.