support iOS SDK 6.1