Closed law-cell closed 3 years ago
Hello,
If you run the example project, do you get the same behavior?
Thanks
It looks like your button images might be too big. Are you using images from your catalog? Instead, try using UIImage(systemName: "...")
instead.
It looks like your button images might be too big. Are you using images from your catalog? Instead, try using
UIImage(systemName: "...")
instead.
Oh, that's my bad. As you said, my images are too big. Sorry. Thanks for your time.
It works now!
I am a novice.
Sorry for wasting your time
No problem. If you want to use custom images, you need to make sure they are the correct size for toolbars (25pt x 25pt).
when I set images of trailingBarButtonItems and leadingBarButtonItems this happened
when I set one of two buttonitems the position of the button looks good
Steps to Reproduce
func setMiniPlayer(){ let storyboard = UIStoryboard(name: "Main", bundle: nil) let demoVC = storyboard.instantiateViewController(withIdentifier: "playerVC")
Device, OS and Xcode Versions
ios 13 iPhone 11