If you have deleted photos from your iPhone, the best app to use for recovering them is PhotoRec. It is a free app that is available on the App Store.