Removed iOS 6.x warnings.
Merge pull request #419 from tciuro/master

Replaced deprecated symbols in iOS 6.x