Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
440 views
in Technique[技术] by (71.8m points)

c# - How to do tutorial in app and launch it just on first start up in Xamarin?

I am trying to find out how to do tutorial on first start up of app in xamarin. When I try to search that it throws just a plenty tutorials how to start programming in xamarin. Do you have any ideas how can i add tutorial to my app but just on first start up?

question from:https://stackoverflow.com/questions/65935302/how-to-do-tutorial-in-app-and-launch-it-just-on-first-start-up-in-xamarin

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

using Essentials VersionTracking

if (VersionTracking.IsFirstLaunchEver)
{
  MainPage = // your Tutorial page
}
else 
{
  MainPage = // your standard app first page
}

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...