码迷,mamicode.com
首页 >  
搜索关键字:ios8 uitableviewcell uitableview    ( 3831个结果
ios8 UIAlertController
ios8 上面,用UIAlertController将UIAlertView和UIActionSheet合二为一了。(1)创建普通alert UIAlertController *alertController = [UIAlertController alertControllerWithT...
分类:移动开发   时间:2014-09-18 13:04:13    阅读次数:171
iOS8数字键盘左下角添加完成按钮
iOS8数字键盘左下角添加完成按钮...
分类:移动开发   时间:2014-09-18 11:36:03    阅读次数:177
Chapter 8 UITableView and UITableViewController
Chapter 8 UITableView and UITableViewController1. The designated initializer of UITableViewController is initWithStyle:, which takes a constant that d...
分类:其他好文   时间:2014-09-18 01:59:23    阅读次数:191
UITableView的一些常用功能实现代码
//1.定义cellstatic NSString * ID=@"hero"; //1.1首先需要进行判断时候需要创建UITableViewCell对象 UITableViewCell * cell=[tableView dequeueReusableCellWithIdentifier:ID].....
分类:其他好文   时间:2014-09-18 00:44:14    阅读次数:189
xcode6中如何对scrollview进行自动布局(autolayout)
Xcode6中极大的增强了IB中自动布局的能力,下面就通过对刺儿头scrollview进行一次自动布局实战,看看自动布局在Xcode6中到底值不值得使用: 说UIScrollView是个刺儿头,实在没有夸张,这是由于scrollview本身contentSize、contentInsets等复杂的特性导致,苹果文档在讲autolayout的时候甚至专门拿出一节讲如何对scrollview进行自动...
分类:其他好文   时间:2014-09-16 20:36:11    阅读次数:233
iOS开发15:自定义UITableViewCell
上篇文章介绍了如何用UITableView显示表格,并讲了几种UITableViewCell的风格。不过有时候我们需要自己定义UITableViewCell的风格,其实就是向行中添加子视图。添加子视图的方法主要有两种:使用代码以及从.xib文...
分类:移动开发   时间:2014-09-15 22:59:10    阅读次数:653
[iOS] 初探 iOS8 中的 Size Class
原文地址:http://blog.callmewhy.com/2014/09/12/learn-ios8-size-class/以前和安卓的同学聊天的时候,谈到适配一直是一个非常开心的话题,看到他们被各种屏幕适配折磨的欲仙欲死,心里真替他们高兴。不过在做到 iPhone 和 iPad 的适配的时候,一个页面需要配置多个 xib 进行开发还是个很头疼的事情。再加上 iPhone6 和 iPhone6...
分类:移动开发   时间:2014-09-15 17:45:59    阅读次数:243
Xcode6 iOS8 模拟器键盘弹不出来问题
Xcode6中的模拟器键盘设置跟之前的版本不一样了。之前版本是模拟器的键盘和电脑的键盘都可以使用,但是Xcode6的模拟器键盘只能选择其中一种。解决方法:快捷键切换键盘类型:Shift + Command + K或者点击模拟器菜单:Hardware-->keyBoard
分类:移动开发   时间:2014-09-15 17:12:29    阅读次数:156
UITableViewCell的层级
1、一个在contentView 上的imageView: imageView(UITableViewCell中的)的superView是UITableViewCellContentView。 imageView的superView的superView是UITableViewCell imageView的superView的superView的superView是UITableV...
分类:其他好文   时间:2014-09-15 16:02:59    阅读次数:216
转 How to correctly set application badge value in iOS 8?
o modify the badge under ios8 you have to ask for permissions let settings = UIUserNotificationSettings(forTypes: UIUserNotificationType.Badge, cat...
分类:移动开发   时间:2014-09-15 15:31:19    阅读次数:212
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!