ShyView is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'ShyView'
Simply Wrap the view you want not to be screenshotted (or recorded) in a ShyView
.
let topSecretLabel = UILabel()
topSecretLabel.text = "4, 8, 15, 16, 23, 42"
let shyView = ShyView(topSecretLabel)
view.addSubview(topSecretLabel)
This component, is build upon a UITextField "hack"; use it at your own risk.
ShyView is available under the MIT license. See the LICENSE file for more info.