Posts

Post not yet marked as solved
2 Replies
1.1k Views
Hi all,I am trying to integrate dark mode support to my app. But when setting image icon for UIBarButtonItem, it seem only works when the first time UIBarButtonItem is shown, it is not changed when I switch between dark mode/light mode.When using that image with other UIButton, it works fine.P/s: I have to use that trick for updating image: let item: UIBarButtonItem = UIBarButtonItem() let button: UIButton = UIButton(frame: CGRect(x: 0, y: 0, width: 26, height: 19)) button.setImage(UIImage(named: "hamburger"), for: .normal) button.addTarget(self, action: action, for: .touchUpInside) item.customView = button
Posted
by thaoth58.
Last updated
.
Post marked as solved
4 Replies
2.7k Views
Hi everyone,I created a new Target as Intents Extension for watchOS. But when I run, it came the dialog: This app could not be installed this timeWatch's Bundle Identifier: gem.TestWatchSiri.watchkitappWatch Extension's Bundle Identifier: gem.TestWatchSiri.watchkitapp.watchkitextensionWatch Siri Intent's Bundle Identifier: gem.TestWatchSiri.watchkitapp.watchkitextension.WatchSiriHandle
Posted
by thaoth58.
Last updated
.