Post

Replies

Boosts

Views

Activity

App does not receive NSUbiquityIdentityDidChangeNotification
Hello, I'm trying to detect within my app when the user has logged in or out from iCloud. To do so, and following the iCloud Programming Guide - https://developer.apple.com/library/archive/documentation/General/Conceptual/iCloudDesignGuide/Chapters/iCloudFundametals.html#//apple_ref/doc/uid/TP40012094-CH6-SW6, I made my app subscribe to the NSUbiquityIdentityDidChangeNotification. The issue is that the selector for the notification is never called. Could you please help me ?
0
0
386
Jan ’21
Apple Watch Complications - Modular Small Image - Multicolor image
Hello everyone, I'm having an issue with a very specific complication on Apple Watch. I'm looking to have a multicolor image in the modular small complication's family, just like the calculator's complication for example. My issue is that I can't get my multicolor image displayed in full color in the multicolor watch face, while others like the calculator's app can be. I don't know how to solve this issue, especially because the documentation says that only the alpha channel is used (but in this case, how other apps can display colors?), and that only CLKImageProvider, and not CLKFullImageProvideer can be used with the modular small template. Could you please help me ?
1
0
745
Dec ’20
Issue with Label inside ToolBarItem
Hello everyone ! I'm having an issue with the ToolbarItem in a NavigationView. I'm using this code : struct ContentView: View { &#9;&#9;var body: some View { &#9;&#9;&#9;&#9;NavigationView { &#9;&#9;&#9;&#9;&#9;&#9;List(0 ..< 5) { item in &#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;Text("Hello") &#9;&#9;&#9;&#9;&#9;&#9;} &#9;&#9;&#9;&#9;&#9;&#9;.navigationTitle("My items") &#9;&#9;&#9;&#9;&#9;&#9;.toolbar(content: { &#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;ToolbarItem(placement: .bottomBar) { &#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;Button(action: {}, label: { &#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;Label("Add", systemImage: "plus.circle.fill") &#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;}) &#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;} &#9;&#9;&#9;&#9;&#9;&#9;}) &#9;&#9;&#9;&#9;} &#9;&#9;} } The problem is that the Label does not display correctly, only the image is visible... Any idea to solve this problem ?
1
0
3.4k
Nov ’20