[iOS] Fix some warnings by comparing the correct enum types.
[iOS] Fix some warnings by comparing the correct enum types.

--HG--
branch : v1-9

digimatic/ogre,digimatic/ogre,digimatic/ogre,digimatic/ogre,digimatic/ogre,digimatic/ogre,digimatic/ogre