Browse Source

修改画中画默认文字

weicu
tanlongsheng 11 months ago
parent
commit
81660ffa39
  1. 4
      local_plugins/native_plugin/ios/Classes/PlayerView.m

4
local_plugins/native_plugin/ios/Classes/PlayerView.m

@ -49,9 +49,9 @@
NSMutableParagraphStyle *para = [[NSMutableParagraphStyle alloc] init];
para.lineSpacing = 4;
self.cnLabel.attributedText = [[NSAttributedString alloc] initWithString:@"" attributes:@{NSParagraphStyleAttributeName: para}];
self.cnLabel.attributedText = [[NSAttributedString alloc] initWithString:@"正在识别..." attributes:@{NSParagraphStyleAttributeName: para}];
self.enLabel.attributedText = [[NSAttributedString alloc] initWithString:@"" attributes:@{NSParagraphStyleAttributeName: para}];
self.enLabel.attributedText = [[NSAttributedString alloc] initWithString:@"翻译中..." attributes:@{NSParagraphStyleAttributeName: para}];
UIStackView *stack = [[UIStackView alloc] initWithArrangedSubviews:@[self.titleLabel, self.langLabel, self.cnLabel, self.enLabel]];
stack.axis = UILayoutConstraintAxisVertical;

Loading…
Cancel
Save