ifdef'd some code that only works on iOS 7