I have 2 views. One is TableView with custom cells (image and label) and second is adding data. I implemented taking pictures/choosing one from a library. If the image is longer than wider TableView automatically rotates it by 90 degrees.I have 2 views. One is TableView with custom ce