Remove all the warnings for IOS 6 sdk.