Comments (4)
Yes. See d797840.
from flatuikit.
I'm missing something. How do I remove the styling? So that a button will look normal?
from flatuikit.
I can't figure out how to remove the styling for some buttons.
from flatuikit.
UIAppearance paints in pretty broad strokes (no pun intended) - it's not possible AFAIK to set a UIBarButtonItem's backgroundImage back to nil if you've customized it via an appearance proxy. Other options include (in roughly the order I would attempt them):
- enclose the buttons you're talking about in a specific UINavigationBar subclass (doesn't have to override anything) and use UIBarButtonItem +configureFlatButtonsWithColor:highlightedColor:cornerRadius:whenContainedIn: to style everything else, while not changing your button of interest.
- generate default images manually, and set them as background images on your specific item.
- subclass UIBarButtonItem & override drawRect for the button you don't want to mess with.
If anyone else has a better idea (quite possible), feel free to chime in. Best of luck.
from flatuikit.
Related Issues (20)
- Cocoapod: NSString+Icons missing in v1.5 HOT 2
- UIButton frame cut off HOT 4
- Swift Compatibility? HOT 14
- FUISwitch: -setOn:animated: does not propagate the animation flag HOT 1
- Deprecated warnings HOT 1
- NSInvalidArgumentException HOT 5
- No rounded corners when using UITableViewCell+FlatUI.h
- Can't build in Cocoapods for Ios 8 HOT 11
- Get exception at `CTFontManagerRegisterFontsForURL` HOT 15
- FUIAlertView Issue - Swift HOT 1
- FUISegmentedControl has wrong height at run time
- Custom view in AlertView
- UIFont (FlatUI) display error charaster HOT 4
- Swift 2 Release HOT 1
- Numerous deprecations
- AlertView swift HOT 1
- Is it possible to use FUITextField for SearchBar? HOT 1
- Command Failed due to signal : Segmentation fault : 11 HOT 1
- I called [alert show],But nothing happened... why?
- FUIButton background is inconsistent on plus size iPhones
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flatuikit.