viewDidAppear not called in an objective-c project

Hi All,


I have a three years old iOS-Objective-C project. Running in simulator with Xcode 11 beta 6 on macOS Catalina beta 6 the parentViewController viewDidAppear not called when the childviewcontroller dismiss.

The same project working well with Xcode 10 on device and in simulator.


Thank You for any help or idea

Regards

Rajmund

Replies

hi Rajmund,


i don't know if this reply will be exactly on-topic, but it sounds familiar: things worked fine on iOS12, but don't work so well on iOS13.


you might want to look back that this thread, where i participated in some discussion about how many presentations (of a child view controller) default to sheet presentations in iOS13. as a result, the presenting view controller (parent view controller) will not see viewDidAppear and others, because the presenting view controller remains in the view hierachy on-screen during the presentation.


hope that's what you were looking for,

DMG

Hi DMG,


thank You for the replay. This was a good step for the solution. I had to change the Presentation poperty of the default Present Modally segue from Default to Full Screen. Since that moment the viewDidAppear method running when the child view dismiss.


Regards

Rajmund