Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason:
'An instance of class UIView was deallocated while key value observers were still registered with it.
Works fine with iOS 11, because the observation is removed when ObservationInfo is reeased.
Key-value observation using closure crashes with:
Works fine with iOS 11, because the observation is removed when ObservationInfo is reeased.
Possible solutions are:
\UView.bounds