iphone 6

iphone front and rear cam working ok but only front cam captring photos back cam not capturing , and video recording save ok. only photos not workign help me.