You should be able to call setAlternateIconName whenever you like. Is it not working in your case? Make sure to check for success via the completion handler, or by catching any error thrown if using the async version. If it succeeds, the system should present an alert to the user automatically. Is anything not working as expected?
With that said, I’d be a little worried about this:
Technically it is possible, but it seems to be a problem in the app review process.
What does this mean? Did your app get rejected for this? If so, what was the reason? Are you trying to “get around” app review in some way?
Topic:
UI Frameworks
SubTopic:
UIKit
Tags: