how to link static cells to Outlet/Actions - E.G tap the call cell to call the number
- by holtii
The code I have. By the way, I can't get Call to work and Website does not open either!
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
NSString *urlToOpen = @"";
if( indexPath.section == 0 ){
// call number
urlToOpen = @"tel:442074036933";
} else if( indexPath.section == 1 ){
// open…