python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
How do I change the color of an SF Symbols based UIButton embedded in a UIAction?
I'm generating a button with the following code but am unable to successfully change the button's foreground color.
let button = UIButton(
type: .close,
primaryAction: UIAction(
image:...
pinglock
Votes: 0
Answers: 1
why won't right, left, width, height work on UIImageView?
I'm following a tutorial for a messaging chat app and I keep getting errors on the UIImageViews. For example ~ userImageView.right, userImageView.width, etc. all get errors saying UIImageView has no m...

Senator
Votes: 0
Answers: 2
Force UIView to draw with specific scale (1 point = 1 pixel)
I'm doing a barcode printing feature, it generates a barcode view and then send the pixels data to the thermal printer. The process is below:
Snapshot UIView with size 250x90 (points) to UIImage:
le...

kientux
Votes: 0
Answers: 0