iOS LaunchScreen.storyboard启动图缓存问题处理

 NSError *error;

    [NSFileManager.defaultManager removeItemAtPath:[NSString stringWithFormat:@"%@/Library/SplashBoard",NSHomeDirectory()] error:&error];

    if (error) {

        NSLog(@"Failed to delete launch screen cache: %@",error);

    }

posted @ 2020-07-07 15:57  D-Ben  阅读(1884)  评论(0编辑  收藏  举报