Commit 7f95e0f0c3355d35ceb81315ac90b5a251788cc3
1 parent
3aba199a
提交0.0.10
Showing
4 changed files
with
21 additions
and
17 deletions
CNLiveOrganizationValidationModule.podspec
| @@ -8,7 +8,7 @@ | @@ -8,7 +8,7 @@ | ||
| 8 | 8 | ||
| 9 | Pod::Spec.new do |s| | 9 | Pod::Spec.new do |s| |
| 10 | s.name = 'CNLiveOrganizationValidationModule' | 10 | s.name = 'CNLiveOrganizationValidationModule' |
| 11 | - s.version = '0.0.9' | 11 | + s.version = '0.0.10' |
| 12 | s.summary = '机构认证模块' | 12 | s.summary = '机构认证模块' |
| 13 | 13 | ||
| 14 | # This description is used to generate tags and improve search results. | 14 | # This description is used to generate tags and improve search results. |
CNLiveOrganizationValidationModule/Classes/CNLiveOrganizationValidationModule/Controller/CNLiveBOrganizationValidattionController.m
| @@ -1067,7 +1067,7 @@ | @@ -1067,7 +1067,7 @@ | ||
| 1067 | 1067 | ||
| 1068 | - (UIView *)headerView { | 1068 | - (UIView *)headerView { |
| 1069 | if (!_headerView) { | 1069 | if (!_headerView) { |
| 1070 | - _headerView = [[CNLiveBOrganizationValidationHeaderView alloc] initWithFrame:CGRectMake(0, 0, KScreenWidth, 130 * (KScreenHeight/667))]; | 1070 | + _headerView = [[CNLiveBOrganizationValidationHeaderView alloc] initWithFrame:CGRectMake(0, 0, KScreenWidth, 130)]; |
| 1071 | } | 1071 | } |
| 1072 | return _headerView;; | 1072 | return _headerView;; |
| 1073 | } | 1073 | } |
CNLiveOrganizationValidationModule/Classes/CNLiveOrganizationValidationModule/View/CNLiveBOrganizationValidationHeaderView.m
| @@ -86,42 +86,42 @@ | @@ -86,42 +86,42 @@ | ||
| 86 | make.left.equalTo(weakSelf.mas_left).offset(0); | 86 | make.left.equalTo(weakSelf.mas_left).offset(0); |
| 87 | make.top.equalTo(weakSelf.mas_top).offset(0); | 87 | make.top.equalTo(weakSelf.mas_top).offset(0); |
| 88 | make.width.mas_equalTo(KScreenWidth); | 88 | make.width.mas_equalTo(KScreenWidth); |
| 89 | - make.height.mas_equalTo(120.5 * KScreenWidth / 375); | 89 | + make.height.mas_equalTo(120.5); |
| 90 | }]; | 90 | }]; |
| 91 | 91 | ||
| 92 | [self.tipImageVSecond mas_makeConstraints:^(MASConstraintMaker *make) { | 92 | [self.tipImageVSecond mas_makeConstraints:^(MASConstraintMaker *make) { |
| 93 | make.centerX.equalTo(weakSelf.mas_centerX).offset(0); | 93 | make.centerX.equalTo(weakSelf.mas_centerX).offset(0); |
| 94 | make.top.equalTo(weakSelf.mas_top).offset(21.5); | 94 | make.top.equalTo(weakSelf.mas_top).offset(21.5); |
| 95 | - make.width.mas_equalTo(55 * KScreenWidth / 375); | ||
| 96 | - make.height.mas_equalTo(77 * KScreenWidth / 375); | 95 | + make.width.mas_equalTo(55); |
| 96 | + make.height.mas_equalTo(77); | ||
| 97 | }]; | 97 | }]; |
| 98 | 98 | ||
| 99 | [self.tipLogImageVFirst mas_makeConstraints:^(MASConstraintMaker *make) { | 99 | [self.tipLogImageVFirst mas_makeConstraints:^(MASConstraintMaker *make) { |
| 100 | make.right.equalTo(weakSelf.tipImageVSecond.mas_left).offset( -22); | 100 | make.right.equalTo(weakSelf.tipImageVSecond.mas_left).offset( -22); |
| 101 | - make.centerY.equalTo(weakSelf.tipImageVSecond.mas_centerY); | ||
| 102 | - make.width.mas_equalTo(8.5 * KScreenWidth / 375); | ||
| 103 | - make.height.mas_equalTo(15 * KScreenWidth / 375); | 101 | + make.top.equalTo(weakSelf.tipImageVSecond.mas_top).offset(20); |
| 102 | + make.width.mas_equalTo(8.5); | ||
| 103 | + make.height.mas_equalTo(15); | ||
| 104 | }]; | 104 | }]; |
| 105 | 105 | ||
| 106 | [self.tipLogImageVSecond mas_makeConstraints:^(MASConstraintMaker *make) { | 106 | [self.tipLogImageVSecond mas_makeConstraints:^(MASConstraintMaker *make) { |
| 107 | make.left.equalTo(weakSelf.tipImageVSecond.mas_right).offset(22); | 107 | make.left.equalTo(weakSelf.tipImageVSecond.mas_right).offset(22); |
| 108 | - make.centerY.equalTo(weakSelf.tipImageVSecond.mas_centerY); | ||
| 109 | - make.width.mas_equalTo(8.5 * KScreenWidth / 375); | ||
| 110 | - make.height.mas_equalTo(15 * KScreenWidth / 375); | 108 | + make.top.equalTo(weakSelf.tipImageVSecond.mas_top).offset(20); |
| 109 | + make.width.mas_equalTo(8.5); | ||
| 110 | + make.height.mas_equalTo(15); | ||
| 111 | }]; | 111 | }]; |
| 112 | 112 | ||
| 113 | [self.tipImageVFirst mas_makeConstraints:^(MASConstraintMaker *make) { | 113 | [self.tipImageVFirst mas_makeConstraints:^(MASConstraintMaker *make) { |
| 114 | make.right.equalTo(weakSelf.tipLogImageVFirst.mas_left).offset(-18); | 114 | make.right.equalTo(weakSelf.tipLogImageVFirst.mas_left).offset(-18); |
| 115 | - make.centerY.equalTo(weakSelf.tipLogImageVFirst.mas_centerY); | ||
| 116 | - make.width.mas_equalTo(72 * KScreenWidth / 375); | ||
| 117 | - make.height.mas_equalTo(77 * KScreenWidth / 375); | 115 | + make.top.equalTo(weakSelf.tipImageVSecond.mas_top); |
| 116 | + make.width.mas_equalTo(72); | ||
| 117 | + make.height.mas_equalTo(77); | ||
| 118 | }]; | 118 | }]; |
| 119 | 119 | ||
| 120 | [self.tipImageVThird mas_makeConstraints:^(MASConstraintMaker *make) { | 120 | [self.tipImageVThird mas_makeConstraints:^(MASConstraintMaker *make) { |
| 121 | make.left.equalTo(weakSelf.tipLogImageVSecond.mas_right).offset(18); | 121 | make.left.equalTo(weakSelf.tipLogImageVSecond.mas_right).offset(18); |
| 122 | - make.centerY.equalTo(weakSelf.tipLogImageVFirst.mas_centerY); | ||
| 123 | - make.width.mas_equalTo(55 * KScreenWidth / 375); | ||
| 124 | - make.height.mas_equalTo(77 * KScreenWidth / 375); | 122 | + make.top.equalTo(weakSelf.tipImageVSecond.mas_top); |
| 123 | + make.width.mas_equalTo(55); | ||
| 124 | + make.height.mas_equalTo(77); | ||
| 125 | }]; | 125 | }]; |
| 126 | 126 | ||
| 127 | } | 127 | } |
Example/CNLiveOrganizationValidationModule/main.m
| @@ -8,10 +8,14 @@ | @@ -8,10 +8,14 @@ | ||
| 8 | 8 | ||
| 9 | @import UIKit; | 9 | @import UIKit; |
| 10 | #import "CNLIVEBAppDelegate.h" | 10 | #import "CNLIVEBAppDelegate.h" |
| 11 | +#import <CNLiveEnvironment/CNLiveEnvironment.h> | ||
| 11 | 12 | ||
| 12 | int main(int argc, char * argv[]) | 13 | int main(int argc, char * argv[]) |
| 13 | { | 14 | { |
| 14 | @autoreleasepool { | 15 | @autoreleasepool { |
| 16 | + | ||
| 17 | + [CNLiveEnvironmentManager setAppType:CNLiveAppTypeBLive environmentType:CNLiveDebugAppStore];//CNLiveDebugAppStore//CNLiveProductionAppStore//CNLiveTestFlight | ||
| 18 | + | ||
| 15 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([CNLIVEBAppDelegate class])); | 19 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([CNLIVEBAppDelegate class])); |
| 16 | } | 20 | } |
| 17 | } | 21 | } |