• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
won't work call from uitableview cell
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

won't work call from uitableview cell


  • Subject: won't work call from uitableview cell
  • From: Субач Павел Витальевич <email@hidden>
  • Date: Wed, 3 Nov 2010 23:36:23 +0600

Need some help, i want call from choose cell in my table with phone number:

- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
	NSString *phoneString = [NSString stringWithFormat:@"tel://%@";, [dataArray objectAtIndex:indexPath.row]];
	[[UIApplication sharedApplication] openURL:[NSURL URLWithString:phoneString]];
}

And second question, how i can get phone number from cell with mix content (how recognize phone number in string)?
such as [13880023323 office 302]
			phone		  text 	 number

Please help..._______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: won't work call from uitableview cell
      • From: Keary Suska <email@hidden>
  • Prev by Date: iPad frame-by-frame animation
  • Next by Date: CALayer renderInContext: performance
  • Previous by thread: Re: iPad frame-by-frame animation
  • Next by thread: Re: won't work call from uitableview cell
  • Index(es):
    • Date
    • Thread