• iOS学习之-开机引导图


    好久没更新博客了,现在慢慢总结一下工作和学习iOS中的知识:

    // 引导动画判断

    - (void)GuideJudge

    {

        if (TimeString)//程序开启

        {

            //旧版本号

            NSArray *Array = [TimeString componentsSeparatedByString:@"."];

            NSString *OldString = @"";

            for (NSString *String in AArray)

            {

                OldString = [NSString stringWithFormat:@"%@%@",OldString,String];

            }

            NSInteger OldInt = [OldString integerValue];

            

            //新版本号

            NSDictionary *infoDictionary = [[NSBundle mainBundle] infoDictionary];

            NSString *EditionString = [infoDictionary objectForKey:@"VersionString"];

            NSArray *ArrayS = [EditionString componentsSeparatedByString:@"."];

            NSString *NewString = @"";

            for (NSString *AString in ArrayS)

            {

                NewString = [NSString stringWithFormat:@"%@%@",NewString,String];

            }

            NSInteger NewInt = [NewString integerValue];

            

            if (NewInt > OldInt)

            {//播放引导图

                GuideChartView *guideChartView = [[GuideChartView alloc] init];

                [ViewJump pushViewController:guideChartView animated:NO];

            }

            else if (PhoneString)

            {

                [AccountAdministration LoginSuccess];

            }

            else

            {

                [AccountAdministration CancellationSuccess];

            }

        }

        else

        {//播放引导图

            GuideChartView *guideChartView = [[GuideChartView alloc] init];

            [ViewJump pushViewController:guideChartView animated:NO];

        }

    }

  • 相关阅读:
    Activiti 教程
    head插件对elasticsearch 索引文档的增删改查
    ElasticSearch的基本用法与集群搭建
    kibana查询语法
    Elasticsearch: 权威指南(官方教程)
    ElasticSearch安装及简单配置说明
    在Linux上安装Elasticsearch5.x
    在Windows上安装Elasticsearch 5.x
    SVN提交出错--URL access forbidden for unknown reason
    Elasticsearch配置详解、文档元数据
  • 原文地址:https://www.cnblogs.com/tlios/p/4967812.html
Copyright © 2020-2023  润新知