Please help to fix the issue with PKAddPassesViewController which is shown behind the system bars on Emulator IPhone 16 Pro.
The buttons are also not clickable but I don't know if this is because they are behind the system bar or it's a different problem.
The code is as follows:
let pass = try PKPass(data: data)
if let addPassVC = PKAddPassesViewController(pass: pass) {
self.present(addPassVC, animated: true)
} else {
print("Failed to create PKAddPassesViewController")
}
Can you please check with Real iPhone Device. It is working fine with the device. Issue happen with only Simulator. I tested with iPhone 14 Pro Max.