我怎么操纵闪屏? [英] How can i manipulate the splashscreen?

查看:97
本文介绍了我怎么操纵闪屏?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个音乐应用程序,用户可以注册自己并可以登录..

I've got a music app where the user can register himself and can login..

因此,当他第一次登录时,用户可以给详细信息...

So for the first time when he's logging in, the user can give the details...

我想要的是当他/她点击应用程序时,用户应该直接被引导到主页面而不会在登录后显示登录页面或主页第一次...

What i want is when he/she taps on the app, the user should be directly guided to the main page without showing the login page or the home page after logging in for the first time...

应用程序的正常导航如下...

The normal navigation of the app as follows...

我有一个主页有两个按钮(新用户,现有用户)

I have a home page which has two buttons (New User, Existing User)

如果他选择新用户,用户将被定向到另一个页面(RegisterOption.xaml),其中还有另外两个选项(通过移动和通过电子邮件) ....

If he selects New User, the user will be directed to another page(RegisterOption.xaml) where there will be another two options (via mobile and via email)....

如果用户选择现有用户,他将被定向到另一个页面(MainpageOne.xaml),该页面有两个选项,例如(通过移动和电子邮件)。 。

If the user selects the Existing User, he'll be directed to another page(MainpageOne.xaml) which has two options such as (via mobile and via email)..

问题是,正如我所提到的,当用户第一次登录并点击应用程序时我不应该向他显示所有这些页面,我应该将他/她引导至主页...

The problem is, as i mentioned whenever the user has logged in for the first time and taps on the app i should not show him all these pages, i should direct him/her to the main page...

提前致谢....请帮助我...... :(

Thanks in advance....please help me in this...:(

推荐答案

我也陷入了这种情况。我使用隔离存储并在首次登录时保存该值(在服务成功响应后)。我做了一个执行自动登录功能的方法。如果存储包含来自
服务的值和成功响应,则我隐藏登录页面的可见性并导航到所需页面。同时显示自定义初始屏幕。
i also stuck in this scenario. i use isolated storage and save the value on first time login ( after successful response from service) . i made a method which perform a autologin functionality. if storage contain the value and successful response from service then i hide the visibility of login page and navigate to the desired page. in meanwhile the custom splash screen is shown.


这篇关于我怎么操纵闪屏?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆