提交
This commit is contained in:
@@ -399,9 +399,12 @@
|
||||
#pragma mark-- UITextViewDelegate
|
||||
- (void)textViewDidBeginEditing:(UITextView *)textView {
|
||||
NSInteger isCanChat = [[NSUserDefaults standardUserDefaults] integerForKey:@"kIsCanChat"];
|
||||
#if DEBUG
|
||||
isCanChat = 1;
|
||||
#endif
|
||||
//#if DEBUG
|
||||
// isCanChat = 1;
|
||||
//#endif
|
||||
if (TUIChatConfig.defaultConfig.isAppStore) {
|
||||
isCanChat = 1;
|
||||
}
|
||||
if (isCanChat != 1) {
|
||||
[self.inputTextView resignFirstResponder];
|
||||
[self alertChat];
|
||||
|
||||
Reference in New Issue
Block a user