第一步:在info.plist中添加一个字段:view controller -base status bar 设置为NO
第二步:在AppDelegate类的didFinishLaunchingWithOptions里添加:
if (IOS7) { // 判断是否是大于等于IOS7
//[[UIApplication
sharedApplication] setSt...
分类:
移动开发 时间:
2015-05-09 16:37:37
阅读次数:
117
Givennnon-negative integers representing the histogram's bar height where the width of each bar is 1, find the area of largest rectangle in the histog...
分类:
其他好文 时间:
2015-05-09 01:13:01
阅读次数:
169
这一次本人分享的是模仿知乎Android APP这个类型的,还有网易新闻等,他们都菜单界面等挺相似的。
我使用的是Material Design中提倡的app bar。使用ToolBar+DrawerLayout+Fragment实现,大家也可以在Fragment里面嵌套ViewPager这样使得Fragment包含一个ViewPager,ViewPager包含更多的Faragment去显示内容...
分类:
移动开发 时间:
2015-05-08 09:31:34
阅读次数:
197