放大镜显示后面的 UIWindow [英] Magnifying glass shows UIWindow behind
本文介绍了放大镜显示后面的 UIWindow的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我们有一个带有汉堡菜单导航的应用,菜单本身是一个位于键窗口后面的窗口.
当用户长按某个 uitextfield 并调出放大镜时,放大镜会显示后面 UIWindow 的内容.
有没有人有任何想法
解决方案
一个解决方法是将 windowLevel 设置为 -1 就像
self.navigationWindow.windowLevel = -1;
其中 navigationWindow 是包含菜单的窗口.
We have an app with a burger menu navigation, the menu itself is a window that lies behind the keywindow.
When the user long presses a uitextfield and brings up the magnifying glass, the magnifying glass shows the content of the UIWindow behind.
Has anyone got any ideas
解决方案
A workaround for this is setting windowLevel to -1 like
self.navigationWindow.windowLevel = -1;
where navigationWindow is the window containing the menu.
这篇关于放大镜显示后面的 UIWindow的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文