-
Notifications
You must be signed in to change notification settings - Fork 149
using stringByEvaluatingJavaScriptFromString #77
Comments
Hi, I'm afraid the WKWebView equivalent of UIWebViews I have updated SocialSharing just now to deal with the null/nil result and position the popup at the bottom of the page (which is what iPhone does and what iPad did on iOS 7). |
Ok thanks for detailed answer and the workaround! |
@EddyVerbruggen : what do you think about adding a |
I'm considering creating a new |
Hey there,
Thanks for the great plugin !
when using it with https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin we have a small issue :
This code, which evaluates the position from the webView, returns null :
return [self.webView stringByEvaluatingJavaScriptFromString:@"window.plugins.socialsharing.iPadPopupCoordinates();"];
The result is correct when calling from Safari directly; Any idea whats going on ?
thanks !
The text was updated successfully, but these errors were encountered: