UIActivityViewController becomes almost transparent on iOS 15

I have an iOS App similar to Photos App from Apple, which also has a ‘Share’ button for sharing photo, which worked well before on iOS 13 to iOS 14. But when my iPhone was upgraded to iOS 15, the UIActivityViewController that is showed up was invisible. I have asked this question on https://stackoverflow.com/questions/69496428/ But the error cannot be solved yet. Hope someone here can help. Thanks in advance.

Answered by Michael Ma in 692844022

Could you show a screenshot ?

Here is what I get in an app:

Can you create a minimized project to reproduce the issue and show all the code of it?

Accepted Answer

Thanks for feedback. A good practice is to post also the answer where you post the question (this forum), that's easier for everyone.

Why do you declare open in

override open func viewDidLoad() {
    super.viewDidLoad();
    a_var += 1;
}

and not simply ?

override func viewDidLoad() 

How is a_var used in code ?

UIActivityViewController becomes almost transparent on iOS 15
 
 
Q