Important note for Webkit enabled applications in the Mac App Store
21 10 11 - 22:27 Do you use the htmlviewer in one of your applications you submit to the Mac App Store?Your app can be rejected with this reason:
After you asked yourself why we are made responsible for what Apple's Webkit framework does, the question is: how to solve this?The application accesses the following location(s):
'~/Library/Icons/WebpageIcons.db*'
The application may be
* creating files
* writing files
* opening files for Read/Write access (instead of Read-Only access)
in the above location(s).
Actually Apple has an article about this: How do I prevent my WebKit-enabled application from writing to the shared icon database?
And translating the code, it should be simply
dim u as NSUserDefaultsMBS = NSUserDefaultsMBS.standardUserDefaultsPut it somewhere in your startup code after plugin registration and before using a htmlviewer.
u.setBoolValue("WebIconDatabaseEnabled", false)
No comments