Currently I came across an issue in mac catalyst project. All the buttons in my project are not visible, they are in their actual positions and also clickable and performing their tasks as assigned but they are not visible.
When Iam doing:
crossButton.setImage(UIImage(named: "CrossComMac"), for: .normal) Button does not contain image
While in the below code, image is visible but Iam not able to resize it.
crossButton.imageView?.image = UIImage(named: "CrossComMac")
Also title of the button is not visible too. Anything related to button in my mac catalyst project is not visible.
Main issue:
- Button's image is visible in Xcode running project
- Button's image is not visible in build project...(funny thing right)
Our engineering teams need to investigate this issue, as resolution may involve changes to Apple's software. I'd greatly appreciate it if you could open a bug report, include a small Xcode project and some directions for reproducing the problem, and post the FB number here once you do.
Bug Reporting: How and Why? has tips on creating your bug report.