iOS 7的某些场合会造成无法隐藏Status Bar的问题。例如在ParentViewController中Add一个ChildViewController,如果ParentViewController的
prefersStatusBarHidden方法返回的是NO,那么即使ChildViewController中的prefersStatusBarHidden方法返回的是YES并调用刷新状态栏的代码,也无法隐藏Status Bar。解决方案:Method Swizzling...
分类:
移动开发 时间:
2014-10-01 02:34:50
阅读次数:
191
先看下面几个属性 ui-body ui-bar ui-corner-all ui-body-[a-z] custom-cornersui-bar创建一个通栏的块,可以作为内容块的区分,通过ui-bar-[a-z]用户可以修改皮肤。ui-body的用法跟ui-bar的用法一样ui-corner-all...
分类:
Web程序 时间:
2014-09-30 19:45:29
阅读次数:
400
下面是存储过程的创建,用的时候调用就行了/****** Object: StoredProcedure [dbo].[sq_paging] Script Date: 09/10/2014 09:57:54 ******/SET ANSI_NULLS ONGOSET QUOTED_IDENTIFIER...
分类:
数据库 时间:
2014-09-30 13:58:09
阅读次数:
189
原题地址:https://oj.leetcode.com/problems/largest-rectangle-in-histogram/题意:Givennnon-negative integers representing the histogram's bar height where the ...
分类:
编程语言 时间:
2014-09-30 12:39:02
阅读次数:
254
MVC 5 Ajax + bootstrap+ handle bar 例: 实现service 状态...
分类:
Web程序 时间:
2014-09-29 17:08:22
阅读次数:
177
方法1: 用file_get_contents 以get方式获取内容 方法2: 用fopen打开url, 以get方式获取内容 方法3:用file_get_contents函数,以post方式获取url 'bar');//生成url-encode后的请求字符串,将数组转换为字符串 ...
分类:
Web程序 时间:
2014-09-28 10:22:41
阅读次数:
198
NavBar+TarBariphone开发 NavBar+TarBar1 改变NavBar颜色:选中Navigation Bar 的Tint属性。选中颜色。2 隐藏“back”按钮: self.navigationItem.hidesBackButton = YES;3 隐藏"NavBar" : s...
分类:
移动开发 时间:
2014-09-28 09:59:41
阅读次数:
155
Layout SupportThis protocol is implemented by the UIViewController properties topLayoutGuide and bottomLayoutGuide to support using Auto Layout with a...
分类:
其他好文 时间:
2014-09-26 12:46:58
阅读次数:
174
1.布局文件中的SeekBar:
(进度条样式 android:progressDrawable="@drawable/seekbar_bg")
(拖动按钮 android:thumb="@drawable/thumb_bar" 也可配置样式,如按下状态等;)
android:id="@+id/my_se...
分类:
其他好文 时间:
2014-09-26 11:32:18
阅读次数:
217
前面提到的上下文环境和作用域的知识,除了了解这些知识之外,还是理解闭包的基础。至于“闭包”这个词的概念的文字描述,确实不好解释,我看过很多遍,但是现在还是记不住。但是你只需要知道应用的两种情况即可——函数作为返回值,函数作为参数传递。第一,函数作为返回值如上代码,bar函数作为返回值,赋值给f1变量...
分类:
编程语言 时间:
2014-09-26 09:04:48
阅读次数:
270