为了延长splashimage.jpg的显示时间,我们可以在APP.xaml里面的 Application_Launching里面添加 System.Threading.Thread.Sleep(int time)字段,time是以毫秒为单位的,
比如,我要使splashimage.jpg的显示时间为2秒,那么,可以修改如下:
private void Application_Launching(object sender, LaunchingEventArgs e)
{
System.Threading.Thread.Sleep(2000);//使登录界面睡眠2秒
}
不过大家要注意哈,登录界面的睡眠时间不能太长,否则是无法通过市场的审核的,这个最长时间好像是5秒