小编Lud*_*ier的帖子

indexPathForCell从ios7开始返回nil

我的应用程序在ios6.1下正常运行.尝试了ios7模拟器,以下部分不起作用:

EditingCell *cell = (EditingCell*) [[textField superview] superview];
NSIndexPath *indexPath = [self.tableView indexPathForCell:cell];
NSLog(@"the section is %d and row is %d", indexPath.section, indexPath.row);
NSUInteger section = [indexPath section];
NSUInteger row = [indexPath row];
NSString *rowKey = [[keysForRows objectAtIndex: section] objectAtIndex: row];
Run Code Online (Sandbox Code Playgroud)

总是来:

the section is 0 and row is 0
Run Code Online (Sandbox Code Playgroud)

虽然选择了另一个部分/行.有人知道为什么这在ios7下不起作用?

objective-c uitableview ios ios7

18
推荐指数
2
解决办法
1万
查看次数

上传发票亚马逊MWS

屏幕截图Sellercentral 关于哪个Web服务可以上传订单的pdf发票?由于一些星期以来,有可能通过卖方中心或第三方软件....但是我找不到有关mws api的方法..谢谢

amazon amazon-mws

5
推荐指数
1
解决办法
664
查看次数

标签 统计

amazon ×1

amazon-mws ×1

ios ×1

ios7 ×1

objective-c ×1

uitableview ×1