简体   繁体   English

如何在视图导航器应用程序中使用popView返回上一个视图?

[英]How can you use popView in a view navigator app to return to the previous view?

Obviously poptoFirstView returns the user to the firstView. 显然poptoFirstView将用户返回到firstView。 But say I want to just return to the previous? 但是说我想回到以前吗? Yes, I know the user has the back button on their mobile device. 是的,我知道用户在其移动设备上具有后退按钮。 But for usability sake. 但是出于可用性考虑。 Someone said you can use popView to return to the latest one. 有人说您可以使用popView返回到最新版本。 But gave no hint of how to do so. 但是却没有任何提示。

enter link description here popView() was the hint! 在这里输入链接描述 popView()就是提示!

If you don't know how to use methods, you should always first refer to the AS3 reference, in your case the part about the ViewNavigator 's popView() method: AS3 ViewNavigator 如果您不知道如何使用方法,则应始终先参考AS3参考,在您的情况下,这是有关ViewNavigatorpopView()方法的部分: AS3 ViewNavigator

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM