Bad tint color when using UIActivityViewController

Hi,


I (intentionally) set the tintColor of my application's main window to white.


Whenever I display a UIAlertController or a UIActivityViewController, by default that controller inherits the main window's tint, which results in unreadable white-on-white text. To fix this, I make sure to set the tintColor on the other controller's view to black before I present it.


This works fine with UIAlertController. With UIActivityViewController, it fixes the Cancel button underneath the main view. However, if I press one of the "more" buttons on the main view, or if I navigate to the Mail app, I again get white-on-white text.


How do I fix this?


Thanks,

Frank

Bad tint color when using UIActivityViewController
 
 
Q