remove old code

This commit is contained in:
Pfeil, Scott Robert 2019-01-25 16:16:23 -05:00
parent edf59e0e78
commit 30b875b2ab

View File

@ -101,14 +101,7 @@
}
+ (void)openURL:(nullable NSURL *)url completionHandler:(void (^ __nullable)(BOOL success))completion{
if (@available(iOS 10.0, *)) {
[[UIApplication sharedApplication] openURL:url options:@{} completionHandler:completion];
} else {
BOOL successful = [[UIApplication sharedApplication] openURL:url];
if (completion != nil){
completion(successful);
}
}
[[UIApplication sharedApplication] openURL:url options:@{} completionHandler:completion];
}
+ (void)displayViewController:(nonnull UIViewController <MVMCoreViewControllerProtocol> *)viewController forLoadObject:(nullable MVMCoreLoadObject *)loadObject presentationDelegate:(nullable NSObject<MVMCorePresentationDelegateProtocol>*)delegate completionHandler:(nullable void (^)(void))completionBlock {