Hello everyone ! I'm having an issue with the ToolbarItem in a NavigationView. I'm using this code :
struct ContentView: View {
		var body: some View {
				NavigationView {
						List(0 ..< 5) { item in
								Text("Hello")
						}
						.navigationTitle("My items")
						.toolbar(content: {
								ToolbarItem(placement: .bottomBar) {
										Button(action: {}, label: {
												Label("Add", systemImage: "plus.circle.fill")
										})
								}
						})
				}
		}
}
The problem is that the Label does not display correctly, only the image is visible...
Any idea to solve this problem ?
Post
Replies
Boosts
Views
Activity
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 ?
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 ?