ntvr / SelectionMenu

Overlay menu supporting both buttons and option selection
MIT License
7 stars 0 forks source link

Circular crashing with iOS 10 #16

Closed stemberamichal closed 6 years ago

stemberamichal commented 6 years ago

Key-value observation using closure crashes with:

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.

Possible solutions are:

stemberamichal commented 6 years ago

Do not have to forget to update readme and podspec to contain possible changes to supported version.