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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T18:11:35+00:00 2026-05-28T18:11:35+00:00

I have a table with two UITableViewCell (and one label on each). The idea

  • 0

I have a table with two UITableViewCell (and one label on each).

The idea is to implement the classical About page with a link to the app web and a link to the support email.

This is how it looks like:

Image here: http://dl.dropbox.com/u/3930527/Xcode002.jpg

I’ve been looking around as usual before coming here and ask for help, but again, as usual, so many weird and complex solutions to implement something that my guts tell me must be way easier.

I’m not sure if the way to go is to make the labels linkable. Since I have user interaction enabled on the cells I think it is natural to use that event to fire [b]Safari[/b] for row 1 and [b]Mail[/b] for row 2.

Am I correct? Is there a recommended way to do that?

  • 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-05-28T18:11:36+00:00Added an answer on May 28, 2026 at 6:11 pm

    To open a URL in safari, you can use the UIApplication#openURL method. You can also use this same method to open mail, using a mailto: link.

    - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
      if(indexPath.row == 0){
        [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://myawesomeapp.com/support"];
      } else if(indexPath.row == 1){
        [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"support@myawesomeapp.com"];
      }
    }
    

    And arguably better solution to your support email question would be to present the ‘compose new email’ screen modally within your app, which is pretty easy to do.

    First you’ll need to add the MessageUI framework to your app, and also make your table view controller respond MFMailComposeViewControllerDelegate.

    Then, instead of the call to UIApplication above, do something along these lines:

    if ([MFMailComposeViewController canSendMail]) {
      MFMailComposeViewController *mailViewController = [[MFMailComposeViewController alloc] init];
      mailViewController.mailComposeDelegate = self;
      [mailViewController setSubject:@"[My Awesome App] Support request"];
      [mailViewController setToRecipients:[NSArray arrayWithObject:@"support@myawesomeapp.com]];
      [self presentModalViewController:mailViewController animated:YES];
    }
    

    This will present the ‘compose new email’ modal, and keep users inside your app, rather than switching out to Mail itself. You’ll also need to handle the following delegate method, so that you can hide the modal once the user is done:

    - (void)mailComposeController:(MFMailComposeViewController*)controller didFinishWithResult:(MFMailComposeResult)result error:(NSError*)error{
      [self dismissModalViewControllerAnimated:YES];
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In my iPhone app, In Table view I have Two labels in one cell..
I have a table and two databases which have the same table, but one
I have a table with two columns and one row, and 100% width across
I have a table with two child tables. For each record in the parent
I have two instances of UITableView in one app, and the problem is that
I have a table that has its content filled using one of the two
i have a table view. And im adding two buttons to each cell: -
I have a custom UITableViewCell with two labels ( UILabel ). The table cells
i work with php/Mysql i have table with two cols (date , cash) with
I have two table like this table_CN (_id, name, phone, favorite, title) table_EN (_id,

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.