I am making one iOS application. In this case, I have one module for the UITableView. In this UITableView, I show a list of application names. These names come from my server. These are my company apps. So, I do not know how many applications will come from the server. As soon as the user clicks on the UITableViewCell, I need to check if these applications are already installed on this device. If it is not installed, the user needs to go to the appstore using the link to the application in this application. I checked a few lessons. In this they said, using url schemes, we can make this script. But I don't have url schemes for these URLs because these applications come from the server. In addition, I tried to use the following methods
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"itms://itunes.com/apps/nameOfMyApp"]];
[[UIApplication sharedApplication] canOpenURL:[NSURL URLWithString:@"nameOfMyAppOrurl:"]];
but nothing helped me. Can anyone understand this problem, if so, give your valuable advice.
source
share