| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- //
- // JXRegisterShowView.h
- // shiku_im
- //
- // Created by 123 on 2020/5/18.
- // Copyright © 2020 Reese. All rights reserved.
- //
- #import <UIKit/UIKit.h>
- NS_ASSUME_NONNULL_BEGIN
- @interface JXRegisterShowView : UIView
- @property (nonatomic,weak) UITextView *textView;
- +(void)showView;
- @property (nonatomic,weak) UIButton *tongYiBtn;
- +(void)closeView;
- @property (nonatomic,strong) NSDictionary *dataDict;
- @end
- NS_ASSUME_NONNULL_END
- /***
-
-
- UILabel *conteL=[[UILabel alloc]init];
- conteL.font=[UIFont systemFontOfSize:16 weight:UIFontWeightMedium];
- conteL.textColor=kRGBColor(141, 141, 141);
- NSString *titStr =@"欢迎登陆即信!我们依据最新的监管要求更新了即信《用户协议》和《隐私政策》,特向您说明如下:\n\n1.为了帮助您发现更多有趣的内容,会根据您的使用习惯推荐更好的瞬间;\n\n 2.基于您的授权,我们可能会获取您的位置等信息,您可以选择拒绝或取消授权;\n\n 3.您可灵活设置发布瞬间的可见范围和互动权限;\n\n 4.未经您同意,我们不会从第三方获";
- conteL.numberOfLines=0;
- [whiteShowView addSubview:conteL];
- [conteL mas_makeConstraints:^(MASConstraintMaker *make) {
- make.top.mas_equalTo(titleL.mas_bottom).mas_equalTo(20);
- make.left.mas_equalTo(30);
- make.right.mas_equalTo(-30);
- }];
- NSMutableAttributedString *hintString1=[[NSMutableAttributedString alloc]initWithString:[NSString stringWithFormat:@"%@",titStr]];
-
-
- NSRange range1=[[hintString1 string]rangeOfString:@"《用户协议》"];
- [hintString1 addAttribute:NSForegroundColorAttributeName value:kRGBColor(227, 89, 89) range:range1];
-
- NSRange range2=[[hintString1 string]rangeOfString:@"《隐私政策》"];
- [hintString1 addAttribute:NSForegroundColorAttributeName value:kRGBColor(227, 89, 89) range:range2];
- conteL.attributedText = hintString1;
-
- */
|