首页 > 移动平台 > 详细

Incompatible pointer types assiging to "UIViewController" *_Nullable' from 'AppDelegate*'

时间:2016-09-06 22:50:12      阅读:296      评论:0      收藏:0      [点我收藏+]

    Incompatible pointer types assiging to "UIViewController" *_Nullable‘ from ‘AppDelegate*

本人遇到此问题的情况:在AppDelegate.h中判断版本号时,进行跳转引导页主控制器。 

    self.window.rootViewController =[self initRootVc];//注意此处不能调用以init开头的方法,要改为其他名字

eg:[self firstVc];

//调用此方法返回一个控制器,作为程序的根控制器。

Incompatible pointer types assiging to "UIViewController" *_Nullable' from 'AppDelegate*'

原文:http://www.cnblogs.com/lyjpost/p/5847346.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!