• UIimageView 动画


      
        // 初始進入加載歡迎頁面
        self.splashView = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, self.window.frame.size.width, self.window.frame.size.height)];
        _splashView.image = [UIImage imageNamed:@"img_login_bg"];
        
        _splashView.animationImages = [NSArray arrayWithObjects:
                                       
                                       [UIImage imageNamed:@"img_loading07"],
                                       
                                       [UIImage imageNamed:@"img_loading06"],
                                       
                                       [UIImage imageNamed:@"img_loading05"],
                                       
                                       [UIImage imageNamed:@"img_loading04"],
                                       
                                       [UIImage imageNamed:@"img_loading03"],
                                       
                                       [UIImage imageNamed:@"img_loading02"],
                                       
                                       [UIImage imageNamed:@"img_loading01"],nil];
        
        [self.window addSubview:_splashView];
        [self.window bringSubviewToFront:_splashView];
        _splashView.animationDuration = 1.0;
        _splashView.animationRepeatCount = 0;
        [_splashView startAnimating];


    此博客已暂停维护,博主已搬家至 https://dukec.cn/
  • 相关阅读:
    idea初始化配置
    常用网址
    linux改错了profile文件
    获得ip地址[转载]
    java 基本数据类型转换
    log4j配置概要
    HTTP状态码
    HTTP 的请求方式
    10、类和方法
    9、一切都是对象
  • 原文地址:https://www.cnblogs.com/duke-cui/p/11099153.html
Copyright © 2020-2023  润新知