Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/iphone/44.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Iphone UITableView单元格控件自定义_Iphone_Objective C_Xcode_Uitableview - Fatal编程技术网

Iphone UITableView单元格控件自定义

Iphone UITableView单元格控件自定义,iphone,objective-c,xcode,uitableview,Iphone,Objective C,Xcode,Uitableview,我需要自定义一个UITableview控件,如图所示 在这里,我需要将重新排序控件放在左侧,是否可以在这里 @Harish Saran--您可以自定义表格视图单元格。只需在扩展tableviewcell的类(customCell.h)上创建。在该类中,创建您想要的按钮/图像视图。并放置在单元格的contentview中 现在,在您的cellForRowAtIndexPath方法中,创建customCell.h的cell对象,只需为customCell.h中分配的button/ImageView分

我需要自定义一个
UITableview
控件,如图所示

在这里,我需要将重新排序控件放在左侧,是否可以在这里

@Harish Saran--您可以自定义表格视图单元格。只需在扩展tableviewcell的类(customCell.h)上创建。在该类中,创建您想要的按钮/图像视图。并放置在单元格的contentview中


现在,在您的cellForRowAtIndexPath方法中,创建customCell.h的cell对象,只需为customCell.h中分配的button/ImageView分配图像,这是一个自定义控件,重新排序控件是默认控件,它将出现在tableview单元格的右侧。。。我需要左边的那个控制按钮..如图所示。。