support ios7

Signed-off-by: JerryChan <jerrytaffy@JerryTaffymatoiMac-3.local>