My iPhone 4 camera keeps freezing

Every time I open up my camera it either appears to be a black screen or freezes after the shutter opens help.

Press home + Power key until apple logo pops up and then let go…

if the issue remains, do a itunes factory restoral…

if the issue remains after all that… Call Apple or get a free waranty replacement