I am using Today extension in ios.
I have multiple view controller with different info. and I am displaying some info in tableview using Today extension. when click on row then I want to open related viewcontroller with info.
I have tried following code.
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
NSURL *url = [NSURL URLWithString:@"ReadText://"];
[self.extensionContext openURL:url completionHandler:nil];
}
I have set url schemes in info.plist
but using this code I can only open root viewcontroller.
appreciate for help.