ios - How to get UIVisualEffectView to blur without going OVER full screen / current context? -
i have spritekit game want blur part of screen (the board game played). @ same time, want able interact other elements (like uibuttons) on screen. i'm looking form sheet, 1 blurs under , allows interaction main view controller.
so here's problem. i've tried to:
- put
uivisualeffectview
on main view controller, - present view controller modally 1 of standard presentation styles , have
uivisualeffectview
in there, or - present view controller modally on full screen / current context , have
uivisualeffectview
in there.
none of these options work me.
- options 1 , 2 don't blur. produce solid black box instead. (although reason blurs when notification or when pull down notification center or pull control center. i'm facing same problem this user.)
- option 3 blur, not allow interaction main view controller.
does know else try? or not using correctly?
unfortunately uivisualeffectview
doesn't work spritekit, when using skview
. i've tried zpositions.
i decided recreate uibuttons in new view controller , present modally ofs. way have access beautiful uivisualeffectview
blurring (skeffectnode
blurring isn't pretty @ imo) , buttons. hope apple work on synergy of frameworks in future versions of ios , swift. again, i'm not expert when comes app development, if there else could've done i'd love hear :-)
Comments
Post a Comment