码迷,mamicode.com
首页 >  
搜索关键字:uitableview delete按钮    ( 2136个结果
IOS 8 UITableView cell lines不能靠左解决方法
ios7中用以下方法可使UITableView cell lines靠左self.tableview.separatorInset = UIEdgeInsetsZero;但在ios8中该办法已失灵啦经过翻阅ios8文档发现用以下两种办法即可解决该问题方法一:- (void) viewDidLoad....
分类:移动开发   时间:2014-10-22 17:21:54    阅读次数:149
UITableView (1)
1.实例化Table View 并设置一个Delegate2.向TableView填充数据- (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the view, typic...
分类:其他好文   时间:2014-10-22 12:41:49    阅读次数:257
如何去掉tableView多余分割线
在对应的控制器添加以下方法即可- (void)setExtraCellLineHidden: (UITableView *)tableView{ UIView * view = [UIView new]; view.backgroundColor = [UIColor clearColo...
分类:其他好文   时间:2014-10-22 00:32:58    阅读次数:130
点击城市中的tableView跳转到旅游景点
初始化时候的效果图:点击单元格后的效果图:项目目录:plist截图:RootViewController.h#import @interface RootViewController : UIViewController{ UITableView * _tableView; NSMuta...
分类:其他好文   时间:2014-10-20 21:18:39    阅读次数:270
ios8 UITableView section不显示
ios8 如果UITableView只设置viewForHeaderInSection,则可能section不能显示,iOS7及以下版本显示正常。解决方案:设置heightForHeaderInSection。- (CGFloat)tableView:(UITableView *)tableView...
分类:移动开发   时间:2014-10-20 21:02:08    阅读次数:163
UI 常用方法总结之--- UITableView (不断更新中)
UI 常用方法总结之--- UITableView (不断更新中) 转载请注明出处:http://blog.csdn.net/qq11231325...
分类:其他好文   时间:2014-10-18 12:40:23    阅读次数:176
ios SearchBar
在移动应用程序的世界里,用户对信息获取的速度要求非常高!iOS用户希望他们需要的信息能够迅速地,直观地展现在他们面前。因为UITableView的上下滚动能让用户迅速,自然地浏览大量信息,许多基于UIKit的应用都使用了UITableView来组织信息。但如果信息量非常非常大,让用户上下滚动如此长的...
分类:移动开发   时间:2014-10-17 16:49:10    阅读次数:390
一个tableView,两个section
效果图:.h#import @interface RootViewController : UIViewController{ UITableView *mTableView;}@end.m- (void)viewDidLoad{ [super viewDidLoad]; // D...
分类:其他好文   时间:2014-10-17 13:39:00    阅读次数:166
tableview获取选中cell对象
-(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath{                    UITableViewCell *cell = [tableView cellForRowAtIndexPath:indexPath];             ...
分类:其他好文   时间:2014-10-17 11:55:33    阅读次数:136
[iOS高级] UICollectionView实现瀑布流效果
UICollectionView在2012年被提出,已经不是什么新技术了,在此只是做一下简单的实现。 集合视图:UICollectionView UICollectionView和UITableView类似,它也是datasource和delegate设计模式的:datasource为view提供数据源,告诉view要显?示些什么东?以及如何显示它们,delegate提供一些样式的?细节以及?...
分类:移动开发   时间:2014-10-16 22:50:23    阅读次数:450
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!