Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 3    Views: 609

Bonzo
Apple Fan
Profile
Posts: 783
Reg: Jan 30, 2012
Basingstoke
13,530
07/08/20 11:57 AM (4 years ago)

Mosaic Plugin declined by Apple

The Mosaic plugin is being declined by apple because it uses UIWebView. Can this be update please? Thanks
 
Cakebit
Code is Art
Profile
Posts: 501
Reg: Dec 15, 2010
In your local b...
16,510
like
07/14/20 01:13 AM (4 years ago)
Hi There! Taking a look into this- it looks like the plugin is using a third-party WebView class that hasn't been updated for several years (link if anyone is interested: https://github.com/kmikael/PBWebViewController). I'll try to take the time this week to see if I can update the external source to make the plugin compatible with WKWebView... if you aren't using the web capabilities of the plugin, you can remove the source files (PBWebViewController.h, PBWebViewController.m) from Xcode and comment out lines 48, 870, 871, 872, 876, 877 in AK_mosaicMenu.m. Cheers!
 
Cakebit
Code is Art
Profile
Posts: 501
Reg: Dec 15, 2010
In your local b...
16,510
like
07/15/20 01:07 PM (4 years ago)
Hi There! I just pushed a fix that replaces UIWebView with WKWebView in the Mosaic plugin. There's also an open Pull Request now to merge these changes into the main fork of PBWebViewController so any other plugins that use this class can take advantage of these updates. https://github.com/kmikael/PBWebViewController/pull/33 Let me know if that works for you!
 
mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
like
07/20/20 10:27 AM (4 years ago)
Nice @cakebit
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.