Change the Position of an Image in a TableViews Cell
I needed to change the positon of an image inside of a TableViews cell and found out it wasent as quick as initially expected. To position the image anywhere you desire you need to:
- Create a UIImageView and set the initWithFrame property to the coordinates within the cell you desire
- Create your UIImage
- Add your UIImage to the newly created ImageView
- Add a new sub view to the cell with your ImageView
I just needed a container!
That snippet is added to my cellForRowAtIndexPath method.
Related Libraries: