Revert "Fixed iOS7 deprecated API usage"

This reverts commit 0e42f64daf886b9c30be4dd44732c00fbc3a3d7a.