Comments (2)
-结果: 是第三方 IQKeyboardReturnKeyHandler 这个类创建的对象存在的 bug,
@implementation IQKeyboardReturnKeyHandler
{
NSMutableSet *textFieldInfoCache;
}
-(void)addTextFieldView:(UIView*)view
{
NSMutableDictionary *dict = [[NSMutableDictionary alloc] init];
dict[kIQTextField] = view;
if ([view isKindOfClass:[UITextField class]] || [view isKindOfClass:[UITextView class]])
{
UITextField *textField = (UITextField*)view;
dict[kIQTextFieldReturnKeyType] = @(textField.returnKeyType);
// 怀疑是这里
if (textField.delegate) dict[kIQTextFieldDelegate] = textField.delegate;
[textField setDelegate:self];
}
[textFieldInfoCache addObject:dict];
}
from iosproject.
感谢回复,确实是IQKeyboard的问题
hackiftekhar/IQKeyboardManager#1228
from iosproject.
Related Issues (20)
- LMJWebViewController 存在内存泄漏问题 HOT 2
- 多重继承不方便抽取功能使用 HOT 1
- library not found for -lAFNetworking HOT 1
- pod install错误 HOT 1
- 工程用不了,不能学习喽 HOT 4
- error: Multiple commands produce
- 项目跑不起来 HOT 1
- 大神,运行报错该怎么解决
- 运行报错 HOT 1
- iOSProject.debug.xcconfig: unable to open file
- 在百思不解项目中,点击我的界面会直接闪退
- No type or protocol named 'UIUserActivityRestoring' HOT 1
- 关于文件 断点 缓存下载这个案例的一些问题 HOT 9
- iOS 13 部分动画有问题
- 运行不起来了,初学者
- pod install和pod update都报错[!] Error installing UMengAnalytics友盟的东西
- 项目运行起来 显示内有权限
- 项目跑起来了,但是全都点不了, FPS悬浮框又可以拖动 HOT 1
- MOFSPickerManager 包修改
- User
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 iosproject.