继承了LCCKConversationViewController导致bundle加载不到
mokai opened this issue · comments
Base Info for this issue
继承了LCCKConversationViewController导致部分依赖[self class]来取bundle的代码取不到。
如LCCKConversationViewController.m 行914 didTapLinkText方法中取Alert的title使用了LCCKLocalizedStrings,其定义
NSLocalizedStringFromTableInBundle(key, @"LCChatKitString", [NSBundle lcck_bundleForName:@"Other" class:[self class]], nil)
改成以下代码后正常
NSLocalizedStringFromTableInBundle(key, @"LCChatKitString", [NSBundle lcck_bundleForName:@"Other" class:[LCChatKit class]], nil)
- ChatKit Version:0.8.5
- App-ID: XX
- Language:Swift
- iOS System Version:iOS10
- Prototype(是否是真机):YES
- Issue Type:Crash、Bug、Enhancement(希望能支持一个新需求)、Q-A
1. How to repeat the problem.
2. Please help me in this way.
3. Here is a Demo.
4. Here is my Debug log
的确有这个问题,建议提pr吧。
fix in CYLChatKit https://github.com/ChenYilong/CYLChatKit/releases
changelog:
2.1.1 update voice message send UI same to wechat