add ios 7.1 code from 1.0.1 which wasn't pushed for some reason