[[UIApplicationsharedApplication] setAlternateIconName:@"newIcon"completionHandler:^(NSError *_Nullable error) {
if (error) {
NSLog(@"set icon error: %@",error);
}else{
NSLog(@"Set up successfully,Press the Home key to view");
}
}];
https://github.com/NSObject-RC/RCChangeIcons