I have a UITableView in UIViewController. I have multiple sections with only one row. How can i get shadow for cell like in next picture?

I have a UITableView in UIViewController. I have multiple sections with only one row. How can i get shadow for cell like in next picture?

You need to enable the shadow to be created outside of the bounds;
[cell.layer setMasksToBounds:NO];
and then you need to set
and if not success you can also try this solution.
iPhone UITableViewCell layer shadow
or you can also refer this tutorial for your reference.
Fun shadow effects using custom CALayer shadowPaths