Skip to content
This repository was archived by the owner on Sep 2, 2020. It is now read-only.
This repository was archived by the owner on Sep 2, 2020. It is now read-only.

Don't use view controller appearance methods for managing notification subscription #1

@odnoletkov

Description

@odnoletkov
  1. UIKit doesn't guarantee specific order or paring for viewDidAppear and viewDidDisappear (as well as for most other appearance methods combinations). So they can't be used for proper management of the notification lifecycle and can cause over- or under-subscription problems in practice.
  2. Why the safe area update shouldn't happen when view is 'disappeared' in the first place?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions