Is there any way to do UITableView background like on this image programmatically? I mean to do top and left borders dark and right and bottom white. If it’s impossible how can I implement it with one image (my UITableViewCell’s could have different height)? Thanks!

You could use this great tutorial http://cocoawithlove.com/2009/04/easy-custom-uitableview-drawing.html
Basically change background image inside this method:
You shoud use only middle row, because this code has 3 images, one for first row, one for last row and one for middle row. Hope it helps.