Our code was working with previous versions, but on iOS13 the custom notification content height is not working properly. Everything is visible as it should be, but the buttons are not clickable after a part of view. So for example after 320 pixel the custom views are not clickable. Running the same code on ios12 works.
func didReceive(_ notification: UNNotification) {
let content = notification.request.content
self.preferredContentSize = CGSize(width: self.view.frame.size.width, height: contentH)
self.view.setNeedsUpdateConstraints()
self.view.setNeedsLayout()
}
Any solution? Or is it an iOS13 bug?
##Update :
We are developing our app on iOS14 beta and the issue is still here. Just one thing is new related to this. When we are tapping the screen this is what we get.
NotificationContent[44466:2340668] [Assert] UIScrollViewDelayedTouchesBeganGestureRecognizer was moved to a view that isn't a scroll view, so we can't determine if the touch is on a scroll indicator.
We are adding all the subviews to the viewcontroller's view (no custom containers).