Use only portable implementations on iOS.