In iOS 18.4.1, DocumentGroup contains the DocumentView twice. (this may cause issues with alerts)
To reproduce (iOS 18.4):
- In XCode Version 16.3 (16E140), create new project. Choose iOS, "Document App". No need to make code changes.
- Compile and run app on iOS 18.4 (simulator or device).
- in iOS (sim or device): Tap create document (once the app launched).
- in XCode: click "Debug View Hierarchy"
- in XCode: rotate the view Hierarch to reveal duplicated Document View hierarchies (2 Document Hosting Controllers), see screenshot.
This probably affects alert view... I get warnings and it does not work properly (used to work ok on previous versions).
Previous versions
To compare with previous versions of iOS, run the same code and procedure on iOS 18.3 for example (see screenshot).
Will report on Feedback assistant as well...