added some changes for support iOS 7
Merge remote-tracking branch 'origin/master'