ios - Why: "Attempting to load .. while deallocating... :UISearchController:" -
i have root storyboard has button pushes viewcontrollerb.
viewcontrollerb has sort controller uisortcontroller
.
viewcontrollerb has "back" method controlled root nav controller.
i'm getting following warning:
attempting load view of view controller while deallocating not allowed , may result in undefined behavior (<uisearchcontroller: 0x7ff10258ba60>)
i used apple's sample (membership required) add new uisearchcontroller.
has come across this? how resolve it?
i recommend using storyboard unwind segues instead: https://developer.apple.com/library/ios/technotes/tn2298/_index.html
this insightful post has wealth of useful implementation detail:
Comments
Post a Comment