07 2018 档案

如何隐藏所有的导航栏
摘要:如何隐藏所有的导航栏,在基类里面: 只要继承了这个基类的控制器,导航栏都隐藏了 阅读全文

posted @ 2018-07-26 18:40 土匪7 阅读(380) 评论(0) 推荐(0)

拦截导航栏返回按钮点击事件
摘要:参考这个https://www.jianshu.com/p/25fd027916fa 最终选择了这个库: https://github.com/onegray/UIViewController-BackButtonHandler 调用这个方法,返回NO,然后做自己的操作,比如弹窗什么的 阅读全文

posted @ 2018-07-26 16:29 土匪7 阅读(195) 评论(0) 推荐(0)

cocoapod引入FLEX,debug模式正常,Release报错library not found for -lXXX
摘要:cocoapod引入FLEX,debug模式正常,Release报错library not found for -lXXX, 因为podfile是这么写的: pod 'FLEX', '~> 2.0', :configurations => ['Debug'] 所以只有在debug模式下才会编译FLE 阅读全文

posted @ 2018-07-13 11:24 土匪7 阅读(476) 评论(0) 推荐(0)