Created UIView+Screenshot category and wrote [convertViewToImage] method