ios-urlsheme

How to open native files app in ios?

耗尽温柔 提交于 2021-01-04 07:24:14
问题 How do i open the native files app of ios using url scheme or some other way ? I tried searching url scheme but had no luck. There seems to be no answer to this question there is thread open for this question in apples forum but it is still unanswered. https://forums.developer.apple.com/message/257860#257860 Can it be done using the bundle identifier ? 回答1: Please try to use UIDocumentPickerViewController for your use case let controller = UIDocumentPickerViewController( documentTypes: [

Detect apps on my iphone without being rejected by Apple?

夙愿已清 提交于 2019-12-13 09:08:33
问题 My app has been rejected by Apple for the following reason "Our team is aware that iHasApp is using publicly available APIs, however this specific implementation abuses canOpenURL: to detect all apps on a given device".So I start to look for another way to list all the installed app in the user's phone.So my questions are: 1/Are they some web apps which can detect the installed apps? 2/is it possible to detect apps using their icones? 回答1: If you implement a workaround, the chances are that

iOS 8.3 Share Extension - Launching URL Schemes

℡╲_俬逩灬. 提交于 2019-12-04 08:42:37
问题 since iOS 8.3 update my share extension (which calls my main app using URL Schemes) stopped working. So I found out that the UIWebView approach I had to launch my app is not working anymore. I also tried the approach Apple recommends, using NSExtensionContext, and still no results. Any thoughts about this? My code follows: UIWebView *webView = [[UIWebView alloc] initWithFrame:CGRectMake(0, 0, 0, 0)]; [self.view addSubview: webView]; NSString *urlString = "com.myappscheme://shareextension";

iOS 8.3 Share Extension - Launching URL Schemes

旧时模样 提交于 2019-12-03 00:42:50
since iOS 8.3 update my share extension (which calls my main app using URL Schemes) stopped working. So I found out that the UIWebView approach I had to launch my app is not working anymore. I also tried the approach Apple recommends, using NSExtensionContext, and still no results. Any thoughts about this? My code follows: UIWebView *webView = [[UIWebView alloc] initWithFrame:CGRectMake(0, 0, 0, 0)]; [self.view addSubview: webView]; NSString *urlString = "com.myappscheme://shareextension"; NSString * content = [NSString stringWithFormat : @"<head><meta http-equiv='refresh' content='0; URL=%@'>