Search code examples
c#windows-phone-8live-tile

Windows Phone 8.1 - Check if Primary/Application Tile is Pinned to Start Screen


Is there a way to check if the user has pinned the primary/application tile to their start screen?


Solution

  • There is no programmatic way to know if the primary tile is pinned. The ActiveTiles collection always contains the primary tile. The basic reasoning for not knowing if the tile is pinned or not goes like this:

    • Tiles should always have up-to-date information
    • If an app detects that the tile is not currently pinned, it might not update it
    • If the app doesn't update it, but then the user pins the tile later on, it will be out of date

    So the decision was made to always return the primary tile and the guidance for applications to always update it.

    What is the particular reason you have for wanting to know if the tile is pinned or not?