ios7 compatibility.