Resolving deprecation warnings for deployment target of >= iOS 7