Skip to content
This repository has been archived by the owner on Jul 2, 2019. It is now read-only.

继承了LCCKConversationViewController导致bundle加载不到 #349

Open
mokai opened this issue Sep 12, 2017 · 4 comments
Open

继承了LCCKConversationViewController导致bundle加载不到 #349

mokai opened this issue Sep 12, 2017 · 4 comments

Comments

@mokai
Copy link

mokai commented Sep 12, 2017

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)
  1. ChatKit Version:0.8.5
  2. App-ID: XX
  3. Language:Swift
  4. iOS System Version:iOS10
  5. Prototype(是否是真机):YES
  6. 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

@ChenYilong
Copy link
Contributor

的确有这个问题,建议提pr吧。

@mokai
Copy link
Author

mokai commented Sep 22, 2017

#352 已提PR

@ChenYilong
Copy link
Contributor

@tang3w

@ChenYilong
Copy link
Contributor

fix in CYLChatKit https://github.com/ChenYilong/CYLChatKit/releases

changelog:

2.1.1 update voice message send UI same to wechat

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants