码迷,mamicode.com
首页 >  
搜索关键字:bar chart    ( 6542个结果
iOS7下隐藏statusbar
info.plist文件中,View controller-based status bar appearance项设为YES,则View controller对status bar的设置优先级高于application的设置。为NO则以application的设置为准,view controller的prefersStatusBarHidden方法无效,是根本不会被调用的。 一、如果V...
分类:移动开发   时间:2014-11-07 11:27:16    阅读次数:255
IOS7 edgesForExtendedLayout
在iOS 7中,苹果引入了一个新的属性,叫做[UIViewController setEdgesForExtendedLayout:],它的默认值为UIRectEdgeAll。当你的容器是navigation controller时,默认的布局将从navigation bar的顶部开始。这就是为什么所有的UI元素都往上漂移了44pt。有时会加上顶部tool bar的高度 20, 20+44 = 6...
分类:移动开发   时间:2014-11-07 11:25:19    阅读次数:191
iOS使用push隐藏子页面底部bottom TabBar
以下两种情况是我在开发过程中遇到的,一种是代码使用pushViewController,另一种是storyboard直接使用push。之前也查阅了很多关于隐藏底部tabbar的资料,但是要么使用起来麻烦,要么就是藕合度高代码不规范(这里有点代码洁癖,当前类相关的事务应该写在本类中)。 1、使用pushViewController 如A->B;A是列表页,带有tabbar;B是内容页,不需要ta...
分类:移动开发   时间:2014-11-06 14:53:28    阅读次数:193
iOS7的程序加了多个UIWindow,调用MPMoviePlayerViewController播放视频时,除了key window其他window的坐标会被改变,怎么办
开发程序时,因为需求需要在status bar上显示东西并可以点击,还要有点击的东西的window level高于status bar,所以使用了多个uiwindow,结果在key window里播放视频时,其他window的坐标被改变了,导致显示不正常。这时只要自定义其他window继承UIWindow,在Window类里增加这个方法,是从UIView继承的,然后判断只要触发需要接收点击的区域就...
分类:移动开发   时间:2014-11-06 13:09:09    阅读次数:253
LeetCode:Trapping Rain Water
题目描述: Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining. For example,  Given [0,1,0,2,1,0,1...
分类:移动开发   时间:2014-11-06 13:06:41    阅读次数:239
5.User Interface/ActionBar
1. ActionBar First added in Android 3.0(API level 11) 2. Working the Action Bar 2.1 Removing the action barActionBar actionBar = getSupportActionBa...
分类:其他好文   时间:2014-11-05 22:47:02    阅读次数:280
5.User Interface/Menu
1. Menu Three fundamental types of menus or action presentation on all versions of Android: Option menu and action bar Android 2.3 or lower, reve...
分类:其他好文   时间:2014-11-05 19:02:56    阅读次数:178
Status Bar in iOS7
This is a very important change in iOS 7: the status bar is no longer a separate bar. It’s now something that simply gets drawn on top of your view co...
分类:移动开发   时间:2014-11-05 14:39:58    阅读次数:135
Highcharts去除下标链接的方法
【注】:私人使用可以进行试验,不建议进行去除,毕竟每个开发都不容易找到credits,将:chart.credits = renderer.text(credit,text,0,0)改为:chart.credits = renderer.text("",0,0)
分类:其他好文   时间:2014-11-05 12:29:28    阅读次数:244
Android ActionBar完全解析,使用官方推荐的最佳导航栏(上)
本篇文章主要内容来自于Android Doc,我翻译之后又做了些加工,英文好的朋友也可以直接去读原文。http://developer.android.com/guide/topics/ui/actionbar.htmlAction Bar是一种新増的导航栏功能,在Android 3.0之后加入到系...
分类:移动开发   时间:2014-11-05 10:48:50    阅读次数:269
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!