I want to change the tint color of the iOS system alerts like the alert that ask for the photo library access or an AppStore review (not UIAlertController that you create and present programmatically) but I don't know if it is possible.
Using the window tint color like this don't work:
self.window?.tintColor = UIColor.red
Changing the tint color of the view of my view controller also don't work.
If it is possible how to do it?
This isn't possible, since the system manages the creation of these alerts. You can only specify the text in the permission alerts using the key-val pair in the info.plist file. This is probably restricted for consistent UI.