Skip to content

Latest commit

 

History

History
56 lines (39 loc) · 860 Bytes

AppIconTemplate.md

File metadata and controls

56 lines (39 loc) · 860 Bytes

STRUCT

AppIconTemplate

public struct AppIconTemplate: Codable, Equatable

Properties

devices

public let devices: Set<AppIconDevice>

The devices supported for the app icon.

specifyGamut

public let specifyGamut: Bool

Whether to support specific display gamuts.

prerendered

public let prerendered: Bool

Backward compatibility for iOS 6.0 indicating if the icon includes the mask and shine effect.

Methods

init(from:)

public init(from decoder: Decoder) throws

Parameters

Name Description
decoder The decoder to read data from.

init(devices:specifyGamut:prerendered:)

public init(
  devices: Set<AppIconDevice>? = nil,
  specifyGamut: Bool = false,
  prerendered: Bool = false
)