Comments (1)
Make sure you create the UISwitch in main thread, then make a reference to this UISwitch in your class.
See this file for example:
https://github.com/ibireme/YYText/blob/master/Demo/YYTextDemo/YYTextAttachmentExample.m
from yytext.
Related Issues (20)
- Ggh
- CoreText note: Client requested name ".SFUI-Regular" 如何解决 HOT 1
- NSMutableRLEArray replaceObjectsInRange:withObject:length:: Out of bounds
- 各位,有好用的替代库吗?主要是计算size和读取html str。 HOT 3
- iOS16 创建YYTextView后 导致旋转屏幕失败 HOT 5
- 在居中布局下,点击yy_setTextHighlight的文本,导致富文本最后一行闪烁
- 系统语音识别功能无法工作 HOT 3
- YYTextView和YYLabel TapAction不响应 HOT 2
- 大神你好,考虑出个安卓版吗
- _YYTextKeyboardViewFrameObserver崩溃 HOT 7
- 大神 UIAlertController 使用失效了 是怎么回事呢
- 字符错误截断的问题
- File not found: libarclite_iphoneos.a HOT 2
- YYLabel 在StoryBoard中使用, 约束上下设置了, 为什么不自动换行?只显示一行?
- YYTextLayout中计算_lineWidth的代码直接使用了CTLineGetTypographicBounds,这将在文本设置居中的时候出现一些布局的错误
- UIGraphicsBeginImageContext Deprecated HOT 8
- 多段落文本,如何设置某个段落只显示一行
- 竖向排列最后一行被省略
- yyLabel显示html富文本标签异常
- - (void)yy_setAttribute:(NSString *)name value:(id)value range:(NSRange)range 崩溃问题
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 yytext.