ios 6.0 support

I hadn't noticed it until I tried to integrate it with my project. One more little change.