We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi!
This could be an UIKit bug (that is hard to fix), but I noticed an awkward navigationItem behavior as I wrote reproducing code below:
[Example] Reproduce navigationItem bug when leftBarButtonItem is set without title and sloppy-swiper cancelled
title
ViewController
Bug won't reproduce if...
leftBarButtonItem
Is there any workaround or fixes for this problem? (One idea might be to add a dummy transparent text 😵) Thanks!
The text was updated successfully, but these errors were encountered:
OK, I just solved it by adding empty titleView as follows:
titleView
if (self.navigationItem.title == nil && self.navigationItem.titleView == nil) { self.navigationItem.titleView = [[UIView alloc] init]; }
Sorry, something went wrong.
Thanks for posting a workaround and a sample code! I think this may be a bug in SloppySwiper. I haven't used it with a custom leftBarButtonItem.
I'd investigate the logic in https://github.com/fastred/SloppySwiper/blob/master/Classes/SloppySwiper.m#L82-L107. There's also this separate issue (when not using SloppySwiper) that may be somehow related: http://holko.pl/ios/2014/04/06/interactive-pop-gesture/
SloppySwiper
No branches or pull requests
Hi!
This could be an UIKit bug (that is hard to fix), but I noticed an awkward navigationItem behavior as I wrote reproducing code below:
[Example] Reproduce navigationItem bug when leftBarButtonItem is set without title and sloppy-swiper cancelled
Step to reproduce
title
.ViewController
.NOTE
Bug won't reproduce if...
leftBarButtonItem
is not set, ortitle
is setIs there any workaround or fixes for this problem? (One idea might be to add a dummy transparent text 😵)
Thanks!
The text was updated successfully, but these errors were encountered: