objective c - Disable background and change tint color for custom popup -
in project created custom popups. example uiactionsheet create overlay, disable other interactions , gray out tintcolor of uitabbar buttons, uinavigationbar buttons , on.
as i've managed fix manually creating background overlay, disable interaction adding overlay on other views , change tintcolor manually.
i've searched api method automatically solve problem, without success. hoping find suggestions here @ so.
edit
the answer looking called tintadjustmentmode: https://developer.apple.com/library/ios/documentation/uikit/reference/uiview_class/#//apple_ref/occ/instp/uiview/tintadjustmentmode
- add new view in xib
- set background color black color , set opacity 50%
- create popup on view.
- put view in main view.
- finally hide & unhide view according requirement.
in don't need disable other control.
Comments
Post a Comment