I had the same problem with my iPhone 6s Plus camera.I read that someone said to place a magnet near the bottom of the rear camera lens so I tried it and it worked.
open