//加入下面两行代码即可[[UINavigationBar appearance] setBackgroundImage:[[UIImage alloc] init] forBarMetrics:UIBarMetricsDefault];[[UINavigationBar appearance] s...
分类:
其他好文 时间:
2015-01-20 10:25:12
阅读次数:
108
前段时间在《修复iPhone上submit按钮bug》中介绍了使用“-webkit-appearance: none; ”来改变按钮在iPhone下的默认风格,其实我们可以反过来思路,使用“appearance”属性,来改变任何元素的浏览器默认风格,简单的说,你可以使用“appearance”属性将...
分类:
移动开发 时间:
2015-01-19 15:41:48
阅读次数:
201
传统的设置if (IOSVERSION >= 7) { [[UINavigationBar appearance] setBarTintColor:[UIColor redColor]];} else { [[UINavigationBar appearance] setBarTi...
分类:
其他好文 时间:
2015-01-15 15:45:32
阅读次数:
177
我们在开发App的时候,在遇到有状态栏时,NavigationBar上面的按钮,是极难点击的,所以这个时候,最好我们能够人为的隐藏掉状态栏。如果一直需要隐藏的话,直接在info.plist里面,添加Key值:View controller-based status bar appearance如果没...
分类:
移动开发 时间:
2015-01-15 12:21:06
阅读次数:
221
* {
-webkit-tap-highlight-color: transparent;
-webkit-appearance: none;
}
CSS放入全局,屏蔽部分手机浏览器 点击链接出现蓝色虚线框。...
分类:
移动开发 时间:
2015-01-14 16:52:04
阅读次数:
350
界面设置默认的 Android Studio 为灰色界面,可以选择使用炫酷的黑色界面。Settings-->Appearance-->Theme,选择Darcula主题即可。字体设置系统字体设置如果你的Android Studio界面中,中文显示有问题,或者选择中文目录显示有问题,或者想修改菜单栏的...
分类:
移动开发 时间:
2015-01-12 17:23:16
阅读次数:
179
[[UINavigationBar appearance] setBackgroundImage:[[UIImage alloc] init] forBarPosition:UIBarPositionAny barMetrics:UIBarMetricsDefault];//设置背景[[UINavi...
分类:
其他好文 时间:
2015-01-12 16:05:50
阅读次数:
251
http://tieba.baidu.com/p/21280401731.打开Eclipse的Help->Eclipse Marketplace2.在Find里搜索Eclipse Color Theme3.打开Window->Preferences->General->Appearance在Colo...
分类:
系统相关 时间:
2015-01-12 00:10:44
阅读次数:
188
过了好几年,又开始用myeclipse 都忘了, 这里贴图用于记录1.打开window - preferences。2.打开General-Appearance-Colors and Fonts 设置字体这里可以修改字体的大小, 字体的眼色等等。 xml的字体也是在这里设置。 选择basic就可以了...
分类:
系统相关 时间:
2015-01-09 16:57:57
阅读次数:
247
修改UITabBarItem下面字体的颜色,如图:
[[UITabBarItem
appearance] setTitleTextAttributes:[NSDictionary
dictionaryWithObjectsAndKeys:[UIColor
blackColor], UITextAttributeTextColor,
nil] forState:UIControlS...
分类:
其他好文 时间:
2015-01-08 15:24:54
阅读次数:
122