Skip to content

Commit

Permalink
add social link
Browse files Browse the repository at this point in the history
  • Loading branch information
ChenYilong committed May 20, 2016
1 parent 50382f5 commit b0c6608
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# iOS9AdaptationTips(iOS9开发学习交流群:561873398)

<p align="center">[![https://twitter.com/stevechen1010](https://img.shields.io/twitter/url/http/shields.io.svg?style=social&maxAge=2592000)](https://twitter.com/stevechen1010)[![bitHound](http://i67.tinypic.com/wbulbr.jpg)](http://weibo.com/luohanchenyilong)
</a>
iOS9适配系列教程【中文在[页面下方](https://github.com/ChenYilong/iOS9AdaptationTips#1-demo1_ios9网络适配_ats改用更安全的https)

(截至2016年4月17日共有12篇,后续还将持续更新。更多iOS开发干货,欢迎关注 [微博@iOS程序犭袁](http://weibo.com/luohanchenyilong/)
Expand Down Expand Up @@ -1832,9 +1833,11 @@ bottomlayoutguide 替换成 mas_bottomlayoutguide
}
```
意思就是说不要调用我自己 `application.rootViewController(navigationController)` 的 `preferredStatusBarStyle` 方法,去调用`childViewControllerForStatusBarStyle` 回传的 UIViewController 的 `preferredStatusBarStyle`。这裡回传 self.topViewController 就可以保证当前显示的 viewController 的 `preferredStatusBarStyle` 会被系统调用且正确的显示。
意思就是说不要调用我自己 `application.rootViewController(navigationController)` 的 `preferredStatusBarStyle` 方法,去调用`childViewControllerForStatusBarStyle` 回传的 UIViewController 的 `preferredStatusBarStyle`。这里回传 self.topViewController 就可以保证当前显示的 viewController 的 `preferredStatusBarStyle` 会被系统调用且正确的显示。
参考链接: [preferredStatusBarStyle isn't called--For anyone using a UINavigationController:](http://stackoverflow.com/a/19513714/3395008)
参考链接:
1. [preferredStatusBarStyle isn't called--For anyone using a UINavigationController:](http://stackoverflow.com/a/19513714/3395008)
2. [ ***How to hide iOS status bar*** ](http://stackoverflow.com/a/18980833/3395008)
### Xcode7 在 debug 状态下也生成 .dSYM 文件引起的警告
Expand Down Expand Up @@ -2109,4 +2112,5 @@ iOS9 里面用到 tableView 突然跑出来了很多 cell 的分割线, 但是
Posted by [微博@iOS程序犭袁](http://weibo.com/luohanchenyilong/)
原创文章,版权声明:自由转载-非商用-非衍生-保持署名 | [Creative Commons BY-NC-ND 3.0](http://creativecommons.org/licenses/by-nc-nd/3.0/deed.zh)
<p align="center"><a href="http://weibo.com/u/1692391497?s=6uyXnP" target="_blank"><img border="0" src="http://service.t.sina.com.cn/widget/qmd/1692391497/b46c844b/1.png"/></a></a>

0 comments on commit b0c6608

Please sign in to comment.