Search code examples
iosuiviewcontrolleruiviewcontroller-lifecycle

Xcode 14.3.1: viewIsAppearing: Method does not override any method from its superclass


final class Foo: long chain of derivation leading to UIViewController {
    override func viewIsAppearing(_ animated: Bool) {
        // ...
        super.viewIsAppearing(animated)
    }
}

Xcode 14.3.1: viewIsAppearing: Method does not override any method from its superclass

Deployment target is 13.0

How would I get to override viewIsAppearing? no results for viewIsAppearing

Xcode 14.3.1


Solution

  • How would I get to override viewIsAppearing

    You would need to be running Xcode version 15 or later. This method has not yet been introduced in Xcode 14, which is what you're using.