and receive our newsletter to get the latest news and tips.

Tiles → pin picture

function tiles → pin picture(
title : String,
content : String,
counter : Number,
pic : Picture)
Pins or updates the default tile with a custom picture.
This action creates a tile to launch the script using a picture. Since tiles are specified to the platform you are running, their final appearance might be quite different.
This code might not work on your current device: missing Tiles capabilities.
var pic := media → choose picture
tiles → pin picture("the title", "the back content", 20, pic)
The following information provides more details for each platform where tiles are supported.

Windows Phone 8

The tile uses the flip template.