Added directives to disable 'obsolete and deprected' compilation warning for iOS6.