Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Blakeasd

macrumors 6502a
Original poster
Dec 29, 2009
643
0
This probably isn't possible, but part of my application uses a website that requires a plugin. My question is, is it possible to add a plugin that works with Safari to my Cocoa application so that my web view can use that plugin.
This will be in the App Store so no Private API use please.
 
Depends. If it's a WebKit-based plugin, yes.

Apple Documentation said:
WebKit-based plug-ins can be stored inside the bundle of any application that uses the WebKit, by storing it in:

AppName/Contents/Plug-ins

where AppName is the actual application’s executable bundle.

If you're not using a WebKit-based plugin (anything that works cross-platform), you'd have to install it into ~/Library/Internet Plug-ins and I doubt Apple would allow that.

But legally you'd have to get permission from the plugin's author to distribute it anyways.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.