Positioning the imageView of a UITableViewCell

前端 未结 6 1303
走了就别回头了
走了就别回头了 2020-12-16 13:53

In every UITableViewCell of a UITableView I\'m placing an image in its imageView. However, if I increase the height of a cell using tableView:heightForRowAtIndexPath: to acc

6条回答
  •  情书的邮戳
    2020-12-16 14:23

    The moment you think you need to adjust sizes or positions of items in the default styles, is the time you need to think about creating a custom cell with your own items sized and positioned the way you want them to be. This is why you can create custom cells. :)

提交回复
热议问题