自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

学习iOS,拯救地球

iOS学习中。。。

  • 博客(6)
  • 收藏
  • 关注

转载 自定义iOS列表索引控件

http://blog.sina.com.cn/s/blog_621403ef0100zn5n.html

2015-07-09 16:59:53 808

原创 viewDidApper,viewDidLoad

Note:If you’re new to viewDidAppear method, it is a method that will be called automatically every time a view is displayed. It’s unlike the viewDidLoad method that is invoked once when the contro

2015-03-27 15:42:06 750

原创 添加 Search Bar in Table View-iOS7

前提: UISearchDisplayController 在ios8已经废弃了。1:In Storyboard, drag and add the “Search Bar and Search Display Controller” , 直接拖出来不用实现任何新的代码,你就已经有个 search bar了。 不需要手动连接 data source and delegate with th

2015-03-26 19:23:03 444

原创 UISearchDisplayController搜索时总是报cell错

2014-10-21 16:54:21.802 MyMusic[7318:5042001] *** Assertion failure in -[UISearchResultsTableView dequeueReusableCellWithIdentifier:forIndexPath:], /SourceCache/UIKit_Sim/UIKit-3318/UITableView.m:6116

2015-03-25 04:03:06 455

原创 在launchscreen.xib,添加图片

在launchscreen.xib中拖出的imageview,然后可以通过添加 auto layout 约束来适应各个屏幕的尺寸。这一块使用到的技术就是NSLayoutConstraint 。通过auto layout 你可以给imageview添加pin 或水平居中,垂直居中等约束。

2015-03-24 14:39:24 761

转载 IOS7(新UI之自定义UITableViewCell)

ios7 新升级之后界面有了很大的变化,xcode模拟器去掉了手机边框和home键,如果想回到主页面,可以按住shift+comment+r键。废话少说先展示一下新UI下UItableView设置为Group后的效果:整体界面显得更加简洁,而且UITableViewCell的宽度默认为满屛,也取消了圆角。下面说下自定义UITableView的过程:首

2015-03-23 00:16:18 355

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除