setup some stuff for iOS