Unable to open PDF inside app with quick look (QLPreviewController)

Below iOS, 18.0 its working properly but in iOS 18.0 facing issue I can download pdf , I can see downloaded pdf in app sandbox container but unable to preview with app