I\'m trying to create a custom UITableViewCell programmatically and one of the subviews of this cell is going to be a button with an image in it (a simple image of a magnify
Have you tried setImage instead of setBackgroundImage?
setImage
setBackgroundImage