Solve the error effect on iOS.