Added support for iOS 7

@samvermette let me know what you think