iOS 8 Share Extension Safari Image -
I have installed 8 apps in one iOS extension and everything is working fine. I can share with the photo app or safari. But when I am in Safari, I do not know how to get the thumbnail image of a web page. I have registered the proper nsetitioning activation rule. When I share a picture from the photo app, the NSItemProvider object type says that it is public.jpeg and I am able to use the [itemProvider loadItemForTypeIdentifier: (NSString *) kUTTypeImage option: completionHandler Not equal to: ^ (UIImage * image, NSError * error) {[self.extensionContext fullRequestReturningItems: @ [] completionHandler: zero]; }]; Image to get but when I share with Safari, the NSItemProvider type says it's public.url, and how do I know to get Is not the image? I know that to get the URL, by loadItemForTypeIdentifier: @ "public.url" but how do I get the image
Within the share extension, you can access a JavaScript preprocessor web page, and set the information for return information such as preview image
js preprocessor installed Details are here to:
Comments
Post a Comment