I'm using UIWebViews in an iOS 7 app to display content. Unfortunally it happens that users have enabled the system wide restrictions for websites that were introduced with iOS 7. Although I have nothing of the category 'adult' in my webview content the filter seems to dislike what I want to display in some cases.
So I searched for a way to detect if the system wide restrictions for websites are enabled by the user (or a settings profile that is installed on the device). I'd like to at least tell the user why some elements of the view behave not as expected and give the advice to allow 'localhost' to fully use my app and still have the restrictions enabled.
Sadly I could not find a way to detect if those restrictions are enabled. I could of course observe the content of every UIWebView and react in case the content is blocked... this just seems a bit of an overhead to do with every webview all the time and I would like to limit that to those users that really have the restrictions enabled.
This page describes how to setup website restrictions and how they appear to the user, there is also an image how a site in Safari then appears. The same I get in my apps webview: http://www.ifans.com/forums/threads/inside-ios-7-how-to-block-websites.399846/
So any hint how I could detect enabled website restrictions would be nice. Thank you!