iOS: remove call function and cleanup code