What would cause a tableview cell to remain highlighted after being touched? I click the cell and can see it stays highlighted as a detail view is pus...
分类:
其他好文 时间:
2014-07-12 00:07:16
阅读次数:
185
iOS开发项目篇—14点击标题按钮弹出菜单一、简单说明(1)简单实现点击标题按钮弹框,在箭头向上的时候,显示标题菜单把ImageView添加到谁的身上?三角形的箭头在导航栏上,因此不能添加到tableview上。分析图示:有两个两种方法可以考虑:(1)添加到导航控制器上,因为导航栏是在导航控制器上的...
分类:
移动开发 时间:
2014-07-11 19:38:52
阅读次数:
457
解决以下错误:*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'unable to dequeue a cell with identifier Cell - must...
分类:
其他好文 时间:
2014-07-11 18:09:09
阅读次数:
206
这次的学习是在Navigation-based Application模板中,用RootViewController class设置操作方法,使用UITableView的属性值。在导航控制器控件为程序的窗口添加上导航条,可构建多个视图连接导航按钮。这次的练习中,我在Navigation contro...
分类:
其他好文 时间:
2014-07-10 15:00:15
阅读次数:
291
一、UItableView 编辑模式#pragma mark 要设置代理, 实现代理协议#pragma mark - 代理方法#pragma mark 只要实现了这个方法,就会实现排序功能- (void)tableView:(UITableView *)tableView moveRowAtInde...
分类:
其他好文 时间:
2014-07-09 17:07:00
阅读次数:
164
m_listView:textview在tableview上,同时需要修改tableview高度//注册观察者 [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(keyboarWillShow:) na...
分类:
其他好文 时间:
2014-07-09 14:56:17
阅读次数:
185
采用的EGORefreshTableHeaderView来实现:
在Controller上实现EGORefreshTableHeaderDelegate的delegate
@property(nonatomic)UITableView* tableView;
@property(nonatomic)NSMutableArray* data;
@property(nonatomic)EGORef...
分类:
移动开发 时间:
2014-07-08 21:32:07
阅读次数:
316
在UITableView初始化时加上以下代码即可:
self.tableView.tableFooterView = [[UIView alloc] initWithFrame:CGRectZero];
效果演示:...
分类:
移动开发 时间:
2014-07-08 20:24:33
阅读次数:
283
今天在测试过程中,出现了这样一个bug,分别有两种情景:
(前提是:app是基于UINavigationController构建的)
1、从Controller-A中push进来B。在B中点击返回,返回的界面为黑色一片。再做返回操作就crash了。
2、从Controller-A中push进入B,此时B中tableview出现错位现象,tableview被navigationbar覆盖了...
分类:
其他好文 时间:
2014-07-08 10:33:48
阅读次数:
218
使 UITableViewStylePlain Style 的TableView header 不浮动,像Group Style 那样固定,跟随Tableview 滚动,而不会停在顶端。...
分类:
其他好文 时间:
2014-07-06 09:00:06
阅读次数:
154