目前就能改leftBarButtonItem,rightBarButtonItem一样的颜色,打开plist文件加入View controller-based status bar appearance,将value改为no,在设置你想改的颜色self.navigationController.na...
分类:
其他好文 时间:
2014-11-25 16:10:17
阅读次数:
136
移动前端界面进去的时候,我们会看到地址工具条,这看起来不怎么像一个APP,那么怎么隐藏掉这个地址条,下面提供了一个比较合适的代码,支持IOS和Android./*! Normalized address bar hiding for iOS & Android (c) @scottjehl MIT ...
分类:
移动开发 时间:
2014-11-25 14:22:35
阅读次数:
188
第一种:css方法有时候当我们需要把一个元素固定在页面的某个部位,一般都是用css中的“position:fixed;”方法来解决,但是IE6不支持fixed,所以今天分享一个兼容IE6的页面底部固定层CSS代码。如下:.bottom{bottom:0;position:fixed;height:2...
分类:
其他好文 时间:
2014-11-25 14:04:31
阅读次数:
213
Option ExplicitPrivate Type RECT Left As Long Top As Long Right As Long Bottom As LongEnd TypePrivate Type DRAWITEMSTRUCT ...
分类:
其他好文 时间:
2014-11-25 12:09:55
阅读次数:
306
问题 & 答案1.怎样交换一个字符串中的两个字段?Q:问题描述:怎样交换 foo 和 bar 的位置?String word1 = "bar";String word2 = "foo";String story = "Once upon a time, there was a foo and a b...
分类:
编程语言 时间:
2014-11-25 00:05:46
阅读次数:
194
这篇会很短。 那么如上图所示,margin指的是外边距,padding指的是内边距,border自有其像素宽度,element在1335乘以392的地方。 margin和padding一样总共有四个,上右下左——top right bottom left。你可以选择margin-top这...
分类:
其他好文 时间:
2014-11-24 22:07:40
阅读次数:
236
问题描述:
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,3...
分类:
移动开发 时间:
2014-11-24 20:55:26
阅读次数:
196
用个纯粹的例子讲述一下:
首先建立一个Label,然后给他加个Textlist的脚本。这次不是右键点击加了,在图中右下角有个添加方式,然后找到Textlist添加上。
然后看到里面的属性,Text label和Scroll bar这两个是重点。把刚才建立的Label拖过去,然后建立一个Scroll bar 也拖过去。
下面说一下Scroll bar 如何建立。
建立...
分类:
其他好文 时间:
2014-11-24 17:24:11
阅读次数:
372
RDVTabBarController是可以高度自定义的一款选项卡。选项可以标上未读标记,也有隐藏Tab bar功能等。每个选项的已选/未选的图片都可以自定义。效果图:详细说明:http://ios.662p.com/thread-2273-1-1.html
分类:
移动开发 时间:
2014-11-24 09:59:54
阅读次数:
171
【Display file information in the document window】 The status bar is located at the bottom of every document window and displays useful information—su....