I want to display a modal dialog i.e. user should not be able to touch anything under it, unless he dismisses the dialog first. [self setExclusiveTouch:YES] doesn't seem to help, user can still 开发者_JS百科click the buttons below the dialog.
any ideas?
One way could be to place a transparent UIView below your modal dialog view, sized as the UIWindow and with userInteractionEnabled set to NO.
加载中,请稍侯......
精彩评论