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

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

@mokai

Description

@mokai

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions