例外的含义是什么"Deprecated API access logged: UiApplication.popScreen()"



当我单击弹出菜单中的ListField时,它给出了此异常"已记录已弃用的 API 访问:UiApplication.popScreen()"

您正在使用已弃用的方法。使用 UiApplication 的 popScreen(net.rim.device.api.ui.Screen) 代替 popScreen()

public final void popScreen(Screen screen)

    从显示堆栈中删除屏幕,并更新屏幕。

    指定者:

         界面UiEngine中的popScreen

    参数:

         screen - Screen删除。

    抛出:

         IllegalArgumentException - 如果您的屏幕不在堆栈上。

最新更新