Update to iOS 7.

Update deprecated stuff.