Don't allow user interaction when activity indicator view is visible

后端 未结 10 2193
你的背包
你的背包 2020-12-24 02:30

I have a view which contains two views. One of those views contains two buttons and some text labels. The other one, with alpha set to 0.25, has an UIActivityIndicator

10条回答
  •  北荒
    北荒 (楼主)
    2020-12-24 03:00

    Use SVProgressHUD WrapperClass It have so many options to show ActivityIndicator
    For Source Code Click Here !

    [SVProgressHUD showWithMaskType:SVProgressHUDMaskTypeBlack];


    use above statement to disable background touches

    [SVProgressHUD dismiss]

    To enable background touches.

提交回复
热议问题