iOS7 itms-services scheme not work?
It seems Apple have disabled all URL schemas in iOS7 (including mailto: links) in standalone webapps. This has seriously implications for my place of work.
See this post: https://discussions.apple.com/thread/5385948?start=0&tstart=0
Change prompt message of itms-services installation
The short answer: No. That is not possible.
And it actually makes allot of sense.
Since enterprise apps does not go though any app review it is fairly simple to make an app that's spy on the user or steal data. With the current system the user at least get information about the domain/publisher of the app.
Consider such an "evil" app signed with a valid enterprise license identifying itself as "Important update from Apple" or something similar...
Use any link in itms-service links for app distribution
The question mark is a reserved character. You need to encode it as %3F
. Same goes for the equals sign - it should be %3D
.
Why cant open itms-services protocol inside an UIWebView iOS7.1 app?
App has to hadle custom schemes by its own. Catch URL in UIWebViewDelegate
and open it by UIApplication
(if it can handle it):
- (BOOL)webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)request navigationType:(UIWebViewNavigationType)navigationType {
NSURL *url = request.URL;
if (!([url.scheme isEqualToString:@"http"] || [url.scheme isEqualToString:@"https"] || [url.scheme isEqualToString:@"about"])) {
UIApplication *app = [UIApplication sharedApplication];
if ([app canOpenURL:url]) [app openURL:url];
return NO;
}
return YES;
}
Related Topics
Recursivedescription Method in Swift
Disabling Nslog for Production in Swift Project
Swiftui Holding Reference to Deleted Core Data Object Causing Crash
Check If User Is Logged into Icloud? Swift/Ios
How to Use Sfsafariviewcontroller with Swiftui
How to Cache or Preload Sklabelnode Font
Downloading Uiimage via Alamofireimage
Which Is the Best Way to Estimate Measure of Photographed Things
Uitableviewcells with Uibutton Overlaps While Scrolling
How Is Possible That "Display: Flex" and "Align-Items: Center" Do Not Work Anymore on My Iphone
Why Does CSS Background-Size: Cover Not Work in Portrait Mode on iOS
How to Access the Real 100Vh on iOS in CSS
Why Can't I Force Landscape Orientation When Use Uinavigationcontroller
Googlemaps Basic iOS Demo App Crash - Unrecognized Selector Sent to Instance
Adding Convenience Initializers in Swift Subclass
Uibutton in Cell in Collection View Not Receiving Touch Up Inside Event