Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
...
// Donde la variable `name` es el nombre del icono alternativo
// sin al sufijo `@2x` o `@3x` ni la extensión `.png`
UIApplication.shared.setAlternateIconName(name) { error in
if let error = error
{
// Algo ha fallado :-(
print("App icon change failed (\(name)) to due to \(error.localizedDescription)")
}
else
{
// Todo ha ido bien :-)
...
}
}
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.