init ios and blackberry