How can we display text in digital format(seven segment display) on a UILabel similar to the way as text is displayed in Digital Clock.
相关问题
- CALayer - backgroundColor flipped?
- Core Data lightweight migration crashes after App
- Core Data lightweight migration crashes after App
- How can I implement password recovery in an iPhone
- back button text does not change
相关文章
- 现在使用swift开发ios应用好还是swift?
- Could I create “Call” button in HTML 5 IPhone appl
- TCC __TCCAccessRequest_block_invoke
- xcode 4 garbage collection removed?
- Xcode: Is there a way to change line spacing (UI L
- Unable to process app at this time due to a genera
- How can I add media attachments to my push notific
- How do you detect key up / key down events from a
Simple approach: use a custom font.
Here's a
UILabel
subclass that allows you to embed custom fonts in your application: http://github.com/zynga/FontLabelHere are a whole bunch of fonts that look like digital clocks: http://www.dafont.com/theme.php?cat=302 (be sure to read the licensing information for whatever font you choose)
With UILabel your best bet is a font that does what you need. Most likely you will have to implement drawing part by yourself. It will not be easy what your are asking.
For simple you can also use Apple recommended font.
Please Check this to find all the font supported by iPhone.