[PhotoKit] Significant Delay when Opening Photo/Video Gallery from Camera View

Experiencing a noticeable delay where opening the photo and video gallery from application's PTX camera interface takes approximately 3 to 4 seconds. This delay degrades the user experience and occurs consistently across both the latest iOS 27 RC and previous iOS 26 builds.

There is a roughly 3-4 second delay between tapping the gallery button and the gallery interface actually rendering and becoming responsive.

Steps
Launch the application.
Open the PTX Camera interface.
Tap to select/open the Gallery.
Observe the loading time.