Fix iOS 6 deprecation warnings

Signed-off-by: Alexsander Akers <a2@pandamonia.us>