I submitted my app a little over a week ago and got the dreaded rejection email today. It tells me that my app cannot be accepted because I\'m using a non-public API; specif
You can choose the following UIView extension to get it (credit by Daniel):
UIView
extension UIView { var firstResponder: UIView? { guard !isFirstResponder else { return self } return subviews.first(where: {$0.firstResponder != nil }) } }