Ionic capacitor xcode. Error Domain=com.apple.VisionKit.RemoveBackground Code=-8 "(null)"

After migrating my ionic cordova app to ionic capacitor I am encountering a persistent white screen on a particular page. Along with this, I have observed the following error messages in the console:

Error Message: [com.apple.VisionKit.RemoveBackground] Request to remove background on an unsupported device. Error Domain=com.apple.VisionKit.RemoveBackground Code=-8 "(null)"

Error Message: [UILog] Called -[UIContextMenuInteraction updateVisibleMenuWithBlock:] while no context menu is visible. This won't do anything.

The actual page becomes visible after clicking on that white screen. the same code is working fine for android build but facing issue on ios.

Answered by deepakbaheti in 779692022

I found the solution as there was a condition in HTML file that causing the UI to go white somehow.

Accepted Answer

I found the solution as there was a condition in HTML file that causing the UI to go white somehow.

Ionic capacitor xcode. Error Domain=com.apple.VisionKit.RemoveBackground Code=-8 "(null)"
 
 
Q