Post

Replies

Boosts

Views

Activity

Reply to Present/Dismiss UISearchController in UINavigationBar via button
This solution kind of works, but it's stopped working in some cases in release builds. I have an accesoryInputView in the main controller and the search controller which appears after the long tap on the navigation bar (it's searching messages in chat like Telegram does). So, this solution works well on iOS < 15.1 and also on all debug builds. But when it comes to release-scheme build – search bar occasionally may be dismissed with a parent view controller. It's so weird, because now I need hacky solution over the hacky solution. I would expect some fix for this issue from Apple but right now issue only become more complicated =)
Nov ’21