Post

Replies

Boosts

Views

Activity

iOS 15 More Tab Crash
Hello, The app I'm working on crashes by trying to reference a deallocated object. The object is a subclass of UITabBarController, and this crash only happens when there are enough view controllers in the tab bar that the more tab becomes available. When turning on zombies, this is the message that gets printed: *** -[UITabBarControllerSubClass removeChildViewController:]: message sent to deallocated instance 0x7fefa98b2a00 In order for the crash to happen, the user has to perform an action that re-initializes the tab bar, such as logging out. This crash does not happen in iOS 14. Does anyone know what might be happening here?
7
1
3.6k
Aug ’21