如何禁用iPhone中的UIView?

vad*_*elu 1 iphone

如何禁用iPhone中的UIView?

Swa*_*uke 7

view.userInteractionEnabled = NO;
Run Code Online (Sandbox Code Playgroud)