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 protected])
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]