简体   繁体   中英

first run page on wp8?

So I'm creating an app that uses Facebook and Twitter features so I want when the app is first installed to be able to run a page that allows them to setup facebook and twitter first. Like for example the Twitter setup page is TwitterSetup.xaml and FB setup is FacebookSetup.xaml. How do I code a first-run page?

When you start the App, you need to check if the User entered the data you need (Twitter or Facebook login for example). To do this you can use IsolatedStorageSettings or local storage (as posted by @manojlds here ).
For example you add code in MainPage(), that loads Settings or Storage and checks if the user has already entered what you need, if not - then you navigate him to the right Page.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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