Adds support for iOS7