Got rid of iOS6 deprecated calls
Merge pull request #3 from moneytree/ios6

Got rid of iOS6 deprecated calls