it:swift
Különbségek
A kiválasztott változat és az aktuális verzió közötti különbségek a következők.
Előző változat mindkét oldalonElőző változatKövetkező változat | Előző változat | ||
it:swift [2020/10/14 12:53] – [Kérdések] rblst | it:swift [2020/10/14 13:44] (aktuális) – [Kódrészletek] rblst | ||
---|---|---|---|
Sor 24: | Sor 24: | ||
content.body = "Push notifications not available"; | content.body = "Push notifications not available"; | ||
default: | default: | ||
- | content.body = "It was not possible to contact push notification component: \(errorCondition.rawValue)"; | + | content.body = "It was not possible to contact push notification component: \(errorCondition.rawValue)"; |
} | } | ||
</ | </ | ||
Sor 64: | Sor 64: | ||
<code swift> | <code swift> | ||
- | open func registerDeviceAndEnable(deviceId: | + | open func registerDeviceAndEnable(deviceId: |
self.findPushComponent { result in | self.findPushComponent { result in | ||
switch result { | switch result { | ||
Sor 81: | Sor 81: | ||
<code swift> | <code swift> | ||
- | | + | func findPushComponent(completionHandler: |
- | self.findPushComponent(requiredFeatures: | + | self.findPushComponent(requiredFeatures: |
} | } | ||
</ | </ | ||
Sor 103: | Sor 103: | ||
<code swift> | <code swift> | ||
- | | + | func findPushComponent(completionHandler: |
self.findPushComponent( | self.findPushComponent( | ||
requiredFeatures: | requiredFeatures: |
it/swift.1602680008.txt.gz · Utolsó módosítás: 2020/10/14 12:53 szerkesztette: rblst