add ios7 support.