Fix iOS7 deprecated warning.
Merge pull request #2 from doo/fix/shu-ios7-warning

Fix iOS7 deprecated warning.