InputBarAccessoryView icon indicating copy to clipboard operation
InputBarAccessoryView copied to clipboard

Window level issue

Open mixo44 opened this issue 6 years ago • 3 comments

Hi. There is a bug connected with window level.

To reproduce the bug just put this code inside of any view controller's viewDidLoad that overrides inputAcessoryView (e.g. inside of InputAccessoryExampleViewController in the example project):

DispatchQueue.main.asyncAfter(deadline: .now() + 1) {
    UIApplication.shared.delegate!.window!!.windowLevel = .statusBar + 1
}

Result: When the window's level changes the input bar just disappears.

mixo44 avatar Jul 09 '19 16:07 mixo44

@mixo44 Did you find a solution for this?

nicolas-bonnet-weforum avatar Jul 10 '20 10:07 nicolas-bonnet-weforum

This probably applies to any input accessory view. You probably need to go the subview route.

nathantannar4 avatar Jul 12 '20 18:07 nathantannar4

same problem here, after SVPogressHUD dismiss then the input bar go disapear. plz help

fukemy avatar Jul 16 '20 11:07 fukemy

This issue has become stale/outdated. Please re-open if desired.

nathantannar4 avatar Oct 05 '22 07:10 nathantannar4