How do I get the version of iOS?
Because I’m having problem in admob
In iOS 7, this is exactly on the buttom of the screen
ads.show( “banner”, {x=0, y=_H})
In iOS 6 or later, this is exactly on the buttom of the screen
ads.show( “banner”, {x=0, y=_H-21})
So I need to know what is the version of iOS
I will do something like this
If version == “ios7” then
ads.show( “banner”, {x=0, y=_H})
else
ads.show( “banner”, {x=0, y=_H-21})
end