fixed ios check in iosgl20.cpp