Correlation between them.

VC.modalPresentationStyle = .overCurrentContext
VC.modalPresentationStyle = .overFullScreen

Presenting with “.overCurrentContext, .overFullScreen” and when it dismissed.
Parent VC didn’t call viewWillAppear and viewDidAppear.

VC.modalPresentationStyle = .currentContext
VC.modalPresentationStyle = .fullScreen

However, presenting with “.currentContext, .fullScreen” and when it dismissed.
Parent VC will call viewWillAppear and viewDidAppear.