简体   繁体   中英

How to use shellTile in windows phone 8.1 run time Application

In the code below ShellTile is working in WP8.0, but when using WP8.1, it is not showing ShellTile.

What is the alternative to use ShellTile in WP8.1 Universal Apps?

ShellTile shellTile = ShellTile.ActiveTiles.FirstOrDefault(tile => tile.NavigationUri.ToString().Contains(partOfUri));

ShellTile is only available for Silverlight Apps. In Universal Apps you have to use ToastNotificationManager.

See this question for examples.

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