Moved old API-function into iOSAPI-function, "new" API is left alone.