I submitted a reference app, which has absolutely no offensive content in it. So I rated my app accordingly (4+). However, the app, as a convenience to users, provides reference urls to Wikipedia to save them some effort. For example, the app provides some data about a common item and if the user is curious about the item, I’ve provided a Wiki link to each item. User can click on it and access the wiki webpage without leaving the app.
Each wiki page displays a Search box at the top and the user can, obviously, type in anything they want there and access any material provided by Wikipedia. So I was asked to bump up the rating to 17+.
My question: Is there any way I can suppress the search box in Wikipedia? Or do anything in the iOS app to prevent user from leaving the original page?
If neither is possible, I suppose I could extract and embed relevant content from Wikipedia (with proper attribution). That would be too much effort, is static (unless updated periodically), and bloats the app with tens of MBs of data.
Note: I found this answer that points to a github library to get and display a wiki page, but that still appears to expose a user to arbitrary Wiki content.
To suppress the search box, something along these lines could work, to be put in the delegate of your
UIWebView:mw-mf-searchis the id attribute of the search box onm.wikipedia.org.To prevent leaving the page, you should implement
webView:shouldStartLoadWithRequest:navigationType:and returnYESonly for resources such as images and sites you want to allow.