xcode 项目证书跟签名都正确的时候,还报证书错误
摘要:原因,安装证书错误,导致无法匹配证书, 方案:删除原来的证书,重新安装 打开终端 1、cd Library/ 2、cd MobileDevice/ 3、open Provisioning\ Profiles/ 每个项目的bundle id 都会有对应的PROVISIONING_PROFILE(pro
阅读全文
posted @
2016-04-27 09:10
许鸣
阅读(492)
推荐(0)
oc 经常用到弹出view的方法
摘要:#pragma mark 弹出view -(void)exChangeOut:(UIView *)changeOutView dur:(CFTimeInterval)dur { CAKeyframeAnimation * animation; animation = [CAKeyframeAnima
阅读全文
posted @
2016-04-01 16:44
许鸣
阅读(559)
推荐(0)
oc 把view添加到rootcontrollerview控制的view
摘要:在当前活跃的window 添加一个view [[[[[UIApplication sharedApplication] keyWindow] rootViewController] view] addSubview:myview];
阅读全文
posted @
2016-04-01 16:43
许鸣
阅读(338)
推荐(0)
oc 跳转控制方法
摘要:1、presentViewController - (void)presentViewController:(UIViewController *)viewControllerToPresent animated: (BOOL)flag completion:(void (^ __nullable)
阅读全文
posted @
2016-04-01 16:38
许鸣
阅读(500)
推荐(0)
ios 不通过import 调用其他控制器的方法
摘要:ios 开发过程中在不通过import 调用其他类的方法 //获取类名 Class controller = NSClassFromString(@"controller"); //不允许为空 if (controller) { //是否实现了该方法 if ([[controller alloc]
阅读全文
posted @
2016-04-01 16:31
许鸣
阅读(441)
推荐(0)