Commit 61bfff8b authored by 曹云霄's avatar 曹云霄

修改项说明:优化代码

parent 205cbfab
...@@ -61,20 +61,17 @@ ...@@ -61,20 +61,17 @@
{ {
//播放窗口 //播放窗口
VideoHelperViewController *videoWindow = [[[self class] getLearningCenterStoryboardClass] instantiateViewControllerWithIdentifier:@"VideoHelperViewController"]; VideoHelperViewController *videoWindow = [[[self class] getLearningCenterStoryboardClass] instantiateViewControllerWithIdentifier:@"VideoHelperViewController"];
videoWindow.view.frame = CGRectMake(0, NavigationHeight, ScreenWidth*2/3, ScreenHeight/2);
videoWindow.delegate = self; videoWindow.delegate = self;
[self addChildViewController:videoWindow]; [self addChildViewController:videoWindow];
[self.view addSubview:videoWindow.view]; [self.view addSubview:videoWindow.view];
//播放列表 //播放列表
VideoListViewController *playList = [[[self class] getLearningCenterStoryboardClass] instantiateViewControllerWithIdentifier:@"VideoListViewController"]; VideoListViewController *playList = [[[self class] getLearningCenterStoryboardClass] instantiateViewControllerWithIdentifier:@"VideoListViewController"];
playList.view.frame = CGRectMake(ScreenWidth*2/3 + 5, NavigationHeight, ScreenWidth/3-5, ScreenHeight-64);
playList.studyItemTitleLabel.text = self.studyTypeEntity.name; playList.studyItemTitleLabel.text = self.studyTypeEntity.name;
playList.delegate = self; playList.delegate = self;
[self addChildViewController:playList]; [self addChildViewController:playList];
[self.view addSubview:playList.view]; [self.view addSubview:playList.view];
//播放简介 //播放简介
VideoDetailViewController *playDetail = [[[self class] getLearningCenterStoryboardClass] instantiateViewControllerWithIdentifier:@"VideoDetailViewController"]; VideoDetailViewController *playDetail = [[[self class] getLearningCenterStoryboardClass] instantiateViewControllerWithIdentifier:@"VideoDetailViewController"];
playDetail.view.frame = CGRectMake(0, ScreenHeight/2+NavigationHeight, ScreenWidth*2/3, ScreenHeight/2-NavigationHeight);
[self addChildViewController:playDetail]; [self addChildViewController:playDetail];
[self.view addSubview:playDetail.view]; [self.view addSubview:playDetail.view];
__block VideoHelperViewController *weakVideWindow = videoWindow; __block VideoHelperViewController *weakVideWindow = videoWindow;
...@@ -82,7 +79,7 @@ ...@@ -82,7 +79,7 @@
WS(weakSelf); WS(weakSelf);
[videoWindow setZoomButtonClickBlock:^(BOOL boolValue) { [videoWindow setZoomButtonClickBlock:^(BOOL boolValue) {
if (boolValue) { if (boolValue) {
[weakSelf.view.window addSubview:weakVideWindow.view]; [SHARED_APPDELEGATE.window addSubview:weakVideWindow.view];
[UIView animateWithDuration:0.2 animations:^{ [UIView animateWithDuration:0.2 animations:^{
weakVideWindow.view.frame = [UIScreen mainScreen].bounds; weakVideWindow.view.frame = [UIScreen mainScreen].bounds;
weakVideWindow.playerLayer.frame = [UIScreen mainScreen].bounds; weakVideWindow.playerLayer.frame = [UIScreen mainScreen].bounds;
...@@ -95,8 +92,12 @@ ...@@ -95,8 +92,12 @@
}completion:nil]; }completion:nil];
} }
}]; }];
videoWindow.view.frame = CGRectMake(0,NavigationHeight, ScreenWidth*2/3, ScreenHeight/2);
playList.view.frame = CGRectMake(ScreenWidth*2/3 + 5, NavigationHeight,ScreenWidth/3-5, ScreenHeight-64);
playDetail.view.frame = CGRectMake(0, ScreenHeight/2+NavigationHeight, ScreenWidth*2/3, ScreenHeight/2-NavigationHeight);
} }
#pragma mark - 获取学习项详情 #pragma mark - 获取学习项详情
- (void)getStudyItemDetailAction - (void)getStudyItemDetailAction
{ {
...@@ -165,11 +166,20 @@ ...@@ -165,11 +166,20 @@
- (void)beginAssessment:(CustomStudyEntity *)studyEntity - (void)beginAssessment:(CustomStudyEntity *)studyEntity
{ {
WS(weakSelf); WS(weakSelf);
[self.settingsPopoverController dismissPopoverAnimated:YES completion:^{ VideoHelperViewController *videoWindow = self.childViewControllers[0];
AssessmentViewController *assessmentVc = [[[self class] getLearningCenterStoryboardClass] instantiateViewControllerWithIdentifier:@"AssessmentViewController"]; if (videoWindow.view.height == ScreenHeight) {
assessmentVc.taskId = studyEntity.fid; [self.view insertSubview:videoWindow.view atIndex:0];
[weakSelf.navigationController pushViewController:assessmentVc animated:YES]; [UIView animateWithDuration:0.2 animations:^{
}]; videoWindow.view.frame = CGRectMake(0, NavigationHeight, ScreenWidth*2/3, ScreenHeight/2);
videoWindow.playerLayer.frame = CGRectMake(0, 0, ScreenWidth*2/3, ScreenHeight/2);
}completion:^(BOOL finished) {
[self.settingsPopoverController dismissPopoverAnimated:YES completion:^{
AssessmentViewController *assessmentVc = [[[self class] getLearningCenterStoryboardClass] instantiateViewControllerWithIdentifier:@"AssessmentViewController"];
assessmentVc.taskId = studyEntity.fid;
[weakSelf.navigationController pushViewController:assessmentVc animated:YES];
}];
}];
}
} }
#pragma mark - 赋值 #pragma mark - 赋值
......
...@@ -204,7 +204,14 @@ ...@@ -204,7 +204,14 @@
#pragma mark - 退出播放 #pragma mark - 退出播放
- (IBAction)exitPlayControllerButtonClick:(UIButton *)sender { - (IBAction)exitPlayControllerButtonClick:(UIButton *)sender {
[self.customPlayer pause]; [self.customPlayer pause];
[self.navigationController popViewControllerAnimated:YES]; self.playButton.selected = NO;
if (self.playerLayer.frame.size.height == ScreenHeight) {
if (self.zoomButtonClickBlock) {
self.zoomButtonClickBlock(NO);
}
}else {
[self.navigationController popViewControllerAnimated:YES];
}
} }
#pragma mark - 后退5秒 #pragma mark - 后退5秒
......
...@@ -1063,11 +1063,6 @@ NSString *const PROMOTIONALSTRING = @"促销信息"; ...@@ -1063,11 +1063,6 @@ NSString *const PROMOTIONALSTRING = @"促销信息";
return self.PDFpath; return self.PDFpath;
} }
- (BOOL)prefersStatusBarHidden
{
return YES;
}
#pragma mark - 分享订单 #pragma mark - 分享订单
- (void)ShareButtonClick:(UIButton *)sender - (void)ShareButtonClick:(UIButton *)sender
{ {
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
<viewControllerLayoutGuide type="bottom" id="gMz-Po-9Yg"/> <viewControllerLayoutGuide type="bottom" id="gMz-Po-9Yg"/>
</layoutGuides> </layoutGuides>
<view key="view" contentMode="scaleToFill" id="cdH-ZG-5G3"> <view key="view" contentMode="scaleToFill" id="cdH-ZG-5G3">
<rect key="frame" x="0.0" y="0.0" width="768" height="1024"/> <rect key="frame" x="0.0" y="0.0" width="1024" height="768"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews> <subviews>
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="Studybackground" translatesAutoresizingMaskIntoConstraints="NO" id="AOj-Fj-d3g"/> <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="Studybackground" translatesAutoresizingMaskIntoConstraints="NO" id="AOj-Fj-d3g"/>
...@@ -222,17 +222,17 @@ ...@@ -222,17 +222,17 @@
<viewControllerLayoutGuide type="bottom" id="lL2-ja-VxT"/> <viewControllerLayoutGuide type="bottom" id="lL2-ja-VxT"/>
</layoutGuides> </layoutGuides>
<view key="view" contentMode="scaleToFill" id="FsK-t2-M2J"> <view key="view" contentMode="scaleToFill" id="FsK-t2-M2J">
<rect key="frame" x="0.0" y="0.0" width="768" height="1024"/> <rect key="frame" x="0.0" y="0.0" width="1024" height="768"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews> <subviews>
<tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="90" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="Ogf-Th-qTY"> <tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="90" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="Ogf-Th-qTY">
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
<prototypes> <prototypes>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" misplaced="YES" selectionStyle="none" accessoryType="disclosureIndicator" indentationWidth="10" reuseIdentifier="ForumTableViewCell" rowHeight="90" id="gz9-gD-P6A" customClass="ForumTableViewCell"> <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="none" accessoryType="disclosureIndicator" indentationWidth="10" reuseIdentifier="ForumTableViewCell" rowHeight="90" id="gz9-gD-P6A" customClass="ForumTableViewCell">
<rect key="frame" x="0.0" y="28" width="768" height="90"/> <rect key="frame" x="0.0" y="28" width="1024" height="90"/>
<autoresizingMask key="autoresizingMask"/> <autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="gz9-gD-P6A" id="4lI-td-FE0"> <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="gz9-gD-P6A" id="4lI-td-FE0">
<frame key="frameInset" width="702" height="89"/> <frame key="frameInset" width="830" height="89"/>
<autoresizingMask key="autoresizingMask"/> <autoresizingMask key="autoresizingMask"/>
<subviews> <subviews>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="00登录-谭" translatesAutoresizingMaskIntoConstraints="NO" id="tIu-Ox-DXo"> <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="00登录-谭" translatesAutoresizingMaskIntoConstraints="NO" id="tIu-Ox-DXo">
...@@ -304,7 +304,7 @@ ...@@ -304,7 +304,7 @@
<viewControllerLayoutGuide type="bottom" id="M8C-8Z-W12"/> <viewControllerLayoutGuide type="bottom" id="M8C-8Z-W12"/>
</layoutGuides> </layoutGuides>
<view key="view" contentMode="scaleToFill" id="9tL-ZM-Vv5"> <view key="view" contentMode="scaleToFill" id="9tL-ZM-Vv5">
<rect key="frame" x="0.0" y="0.0" width="768" height="1024"/> <rect key="frame" x="0.0" y="0.0" width="1024" height="768"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews> <subviews>
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="Recruitbackground" translatesAutoresizingMaskIntoConstraints="NO" id="0NY-ad-nEt"/> <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="Recruitbackground" translatesAutoresizingMaskIntoConstraints="NO" id="0NY-ad-nEt"/>
...@@ -375,7 +375,7 @@ ...@@ -375,7 +375,7 @@
<viewControllerLayoutGuide type="bottom" id="pEO-5p-FL8"/> <viewControllerLayoutGuide type="bottom" id="pEO-5p-FL8"/>
</layoutGuides> </layoutGuides>
<view key="view" contentMode="scaleToFill" id="YAu-aF-uAr"> <view key="view" contentMode="scaleToFill" id="YAu-aF-uAr">
<rect key="frame" x="0.0" y="0.0" width="768" height="1024"/> <rect key="frame" x="0.0" y="0.0" width="1024" height="768"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews> <subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Wup-l7-BBP"> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Wup-l7-BBP">
...@@ -429,10 +429,10 @@ ...@@ -429,10 +429,10 @@
<color key="backgroundColor" red="0.92941176470588238" green="0.93333333333333335" blue="0.93725490196078431" alpha="1" colorSpace="calibratedRGB"/> <color key="backgroundColor" red="0.92941176470588238" green="0.93333333333333335" blue="0.93725490196078431" alpha="1" colorSpace="calibratedRGB"/>
<prototypes> <prototypes>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="none" indentationWidth="10" reuseIdentifier="ForumItemTableViewCell" rowHeight="253" id="KPa-ue-ynj" customClass="ForumItemTableViewCell"> <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="none" indentationWidth="10" reuseIdentifier="ForumItemTableViewCell" rowHeight="253" id="KPa-ue-ynj" customClass="ForumItemTableViewCell">
<rect key="frame" x="0.0" y="28" width="768" height="253"/> <rect key="frame" x="0.0" y="28" width="1024" height="253"/>
<autoresizingMask key="autoresizingMask"/> <autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KPa-ue-ynj" id="fqg-6x-xYw"> <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KPa-ue-ynj" id="fqg-6x-xYw">
<frame key="frameInset" width="768" height="253"/> <frame key="frameInset" width="1024" height="253"/>
<autoresizingMask key="autoresizingMask"/> <autoresizingMask key="autoresizingMask"/>
<subviews> <subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="5V0-oc-2jO"> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="5V0-oc-2jO">
...@@ -720,7 +720,7 @@ ...@@ -720,7 +720,7 @@
<viewControllerLayoutGuide type="bottom" id="dsh-Qt-soH"/> <viewControllerLayoutGuide type="bottom" id="dsh-Qt-soH"/>
</layoutGuides> </layoutGuides>
<view key="view" contentMode="scaleToFill" id="1Rf-fP-JqP"> <view key="view" contentMode="scaleToFill" id="1Rf-fP-JqP">
<rect key="frame" x="0.0" y="0.0" width="768" height="1024"/> <rect key="frame" x="0.0" y="0.0" width="1024" height="768"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews> <subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="LsZ-78-vCP"> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="LsZ-78-vCP">
...@@ -767,10 +767,10 @@ ...@@ -767,10 +767,10 @@
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<prototypes> <prototypes>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="none" indentationWidth="10" reuseIdentifier="HeadlineTableViewCell" id="RwU-Te-fXY" customClass="HeadlineTableViewCell"> <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="none" indentationWidth="10" reuseIdentifier="HeadlineTableViewCell" id="RwU-Te-fXY" customClass="HeadlineTableViewCell">
<rect key="frame" x="0.0" y="28" width="768" height="44"/> <rect key="frame" x="0.0" y="28" width="1024" height="44"/>
<autoresizingMask key="autoresizingMask"/> <autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="RwU-Te-fXY" id="GcB-7X-Q0o"> <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="RwU-Te-fXY" id="GcB-7X-Q0o">
<frame key="frameInset" width="768" height="44"/> <frame key="frameInset" width="1024" height="44"/>
<autoresizingMask key="autoresizingMask"/> <autoresizingMask key="autoresizingMask"/>
<subviews> <subviews>
<textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="标题" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="QwA-Ps-okZ"> <textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="标题" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="QwA-Ps-okZ">
...@@ -782,7 +782,7 @@ ...@@ -782,7 +782,7 @@
<textInputTraits key="textInputTraits"/> <textInputTraits key="textInputTraits"/>
</textField> </textField>
<view contentMode="scaleToFill" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="c9g-Ak-U7E"> <view contentMode="scaleToFill" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="c9g-Ak-U7E">
<frame key="frameInset" minX="-2.5" height="1" maxX="2.5" maxY="1.5"/> <frame key="frameInset" minX="-6" maxX="3" maxY="5.5"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/>
<color key="backgroundColor" red="0.92941176470588238" green="0.93333333333333335" blue="0.93725490196078431" alpha="1" colorSpace="calibratedRGB"/> <color key="backgroundColor" red="0.92941176470588238" green="0.93333333333333335" blue="0.93725490196078431" alpha="1" colorSpace="calibratedRGB"/>
</view> </view>
...@@ -798,10 +798,10 @@ ...@@ -798,10 +798,10 @@
</connections> </connections>
</tableViewCell> </tableViewCell>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="none" indentationWidth="10" reuseIdentifier="ContentTableViewCell" rowHeight="170" id="bcJ-bt-ka6" customClass="ContentTableViewCell"> <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="none" indentationWidth="10" reuseIdentifier="ContentTableViewCell" rowHeight="170" id="bcJ-bt-ka6" customClass="ContentTableViewCell">
<rect key="frame" x="0.0" y="72" width="768" height="170"/> <rect key="frame" x="0.0" y="72" width="1024" height="170"/>
<autoresizingMask key="autoresizingMask"/> <autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="bcJ-bt-ka6" id="uXN-gY-mO0"> <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="bcJ-bt-ka6" id="uXN-gY-mO0">
<frame key="frameInset" width="768" height="170"/> <frame key="frameInset" width="1024" height="170"/>
<autoresizingMask key="autoresizingMask"/> <autoresizingMask key="autoresizingMask"/>
<subviews> <subviews>
<textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" text="内容" textAlignment="natural" translatesAutoresizingMaskIntoConstraints="NO" id="3Uo-E9-3r0"> <textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" text="内容" textAlignment="natural" translatesAutoresizingMaskIntoConstraints="NO" id="3Uo-E9-3r0">
...@@ -996,7 +996,7 @@ timingFunction 设置动画速度曲线,默认值上面已经给出.下面说它 ...@@ -996,7 +996,7 @@ timingFunction 设置动画速度曲线,默认值上面已经给出.下面说它
<viewControllerLayoutGuide type="bottom" id="56O-Us-h9l"/> <viewControllerLayoutGuide type="bottom" id="56O-Us-h9l"/>
</layoutGuides> </layoutGuides>
<view key="view" contentMode="scaleToFill" id="iZG-0h-Izx"> <view key="view" contentMode="scaleToFill" id="iZG-0h-Izx">
<rect key="frame" x="0.0" y="0.0" width="768" height="1024"/> <rect key="frame" x="0.0" y="0.0" width="1024" height="768"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews> <subviews>
<collectionView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" dataMode="prototypes" translatesAutoresizingMaskIntoConstraints="NO" id="Hbj-9Y-heh"> <collectionView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" dataMode="prototypes" translatesAutoresizingMaskIntoConstraints="NO" id="Hbj-9Y-heh">
...@@ -1076,7 +1076,7 @@ timingFunction 设置动画速度曲线,默认值上面已经给出.下面说它 ...@@ -1076,7 +1076,7 @@ timingFunction 设置动画速度曲线,默认值上面已经给出.下面说它
<viewControllerLayoutGuide type="bottom" id="AVm-wa-VfG"/> <viewControllerLayoutGuide type="bottom" id="AVm-wa-VfG"/>
</layoutGuides> </layoutGuides>
<view key="view" contentMode="scaleToFill" id="1f3-C5-Ums"> <view key="view" contentMode="scaleToFill" id="1f3-C5-Ums">
<rect key="frame" x="0.0" y="0.0" width="768" height="1024"/> <rect key="frame" x="0.0" y="0.0" width="1024" height="768"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews> <subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="XJQ-gn-ueE"> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="XJQ-gn-ueE">
...@@ -1206,7 +1206,7 @@ timingFunction 设置动画速度曲线,默认值上面已经给出.下面说它 ...@@ -1206,7 +1206,7 @@ timingFunction 设置动画速度曲线,默认值上面已经给出.下面说它
<viewControllerLayoutGuide type="bottom" id="D0s-xf-mF6"/> <viewControllerLayoutGuide type="bottom" id="D0s-xf-mF6"/>
</layoutGuides> </layoutGuides>
<view key="view" contentMode="scaleToFill" id="zkB-TM-8aD"> <view key="view" contentMode="scaleToFill" id="zkB-TM-8aD">
<rect key="frame" x="0.0" y="0.0" width="768" height="1024"/> <rect key="frame" x="0.0" y="0.0" width="1024" height="768"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<color key="backgroundColor" red="0.92941176470588238" green="0.93333333333333335" blue="0.93725490196078431" alpha="1" colorSpace="calibratedRGB"/> <color key="backgroundColor" red="0.92941176470588238" green="0.93333333333333335" blue="0.93725490196078431" alpha="1" colorSpace="calibratedRGB"/>
</view> </view>
...@@ -1224,17 +1224,17 @@ timingFunction 设置动画速度曲线,默认值上面已经给出.下面说它 ...@@ -1224,17 +1224,17 @@ timingFunction 设置动画速度曲线,默认值上面已经给出.下面说它
<viewControllerLayoutGuide type="bottom" id="STN-51-MZ2"/> <viewControllerLayoutGuide type="bottom" id="STN-51-MZ2"/>
</layoutGuides> </layoutGuides>
<view key="view" contentMode="scaleToFill" id="euD-lu-EZ9"> <view key="view" contentMode="scaleToFill" id="euD-lu-EZ9">
<rect key="frame" x="0.0" y="0.0" width="768" height="1024"/> <rect key="frame" x="0.0" y="0.0" width="1024" height="768"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews> <subviews>
<tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="70" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="lXY-sE-fW1"> <tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="70" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="lXY-sE-fW1">
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<prototypes> <prototypes>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" misplaced="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="VideoDetailIntroTableViewCell" rowHeight="100" id="Qnm-0r-wEL" customClass="VideoDetailIntroTableViewCell"> <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="none" indentationWidth="10" reuseIdentifier="VideoDetailIntroTableViewCell" rowHeight="100" id="Qnm-0r-wEL" customClass="VideoDetailIntroTableViewCell">
<rect key="frame" x="0.0" y="28" width="768" height="100"/> <rect key="frame" x="0.0" y="28" width="1024" height="100"/>
<autoresizingMask key="autoresizingMask"/> <autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="Qnm-0r-wEL" id="VAA-bT-OlF"> <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="Qnm-0r-wEL" id="VAA-bT-OlF">
<frame key="frameInset" width="768" height="99"/> <frame key="frameInset" width="1024" height="99"/>
<autoresizingMask key="autoresizingMask"/> <autoresizingMask key="autoresizingMask"/>
<subviews> <subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="课时简介" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="agZ-rF-DnB"> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="课时简介" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="agZ-rF-DnB">
...@@ -1261,11 +1261,11 @@ timingFunction 设置动画速度曲线,默认值上面已经给出.下面说它 ...@@ -1261,11 +1261,11 @@ timingFunction 设置动画速度曲线,默认值上面已经给出.下面说它
<outlet property="studyIntroDetailTitleLabel" destination="pIM-cg-VXA" id="qhO-cv-4Hn"/> <outlet property="studyIntroDetailTitleLabel" destination="pIM-cg-VXA" id="qhO-cv-4Hn"/>
</connections> </connections>
</tableViewCell> </tableViewCell>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" misplaced="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="VideoLecturerTableViewCell" rowHeight="130" id="WzB-nZ-wsW" customClass="VideoLecturerTableViewCell"> <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="none" indentationWidth="10" reuseIdentifier="VideoLecturerTableViewCell" rowHeight="130" id="WzB-nZ-wsW" customClass="VideoLecturerTableViewCell">
<rect key="frame" x="0.0" y="128" width="768" height="130"/> <rect key="frame" x="0.0" y="128" width="1024" height="130"/>
<autoresizingMask key="autoresizingMask"/> <autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="WzB-nZ-wsW" id="Zzv-Yi-ZxT"> <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="WzB-nZ-wsW" id="Zzv-Yi-ZxT">
<frame key="frameInset" width="768" height="129"/> <frame key="frameInset" width="1024" height="129"/>
<autoresizingMask key="autoresizingMask"/> <autoresizingMask key="autoresizingMask"/>
<subviews> <subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="授课讲师" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="kxK-dX-OAf"> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="授课讲师" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="kxK-dX-OAf">
...@@ -1315,11 +1315,11 @@ timingFunction 设置动画速度曲线,默认值上面已经给出.下面说它 ...@@ -1315,11 +1315,11 @@ timingFunction 设置动画速度曲线,默认值上面已经给出.下面说它
<outlet property="lecurerIntroLabel" destination="85S-CZ-3Vl" id="LLr-eD-OYY"/> <outlet property="lecurerIntroLabel" destination="85S-CZ-3Vl" id="LLr-eD-OYY"/>
</connections> </connections>
</tableViewCell> </tableViewCell>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" misplaced="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="SpecifiedTableViewCell" rowHeight="100" id="oia-jO-L9n" customClass="SpecifiedTableViewCell"> <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="none" indentationWidth="10" reuseIdentifier="SpecifiedTableViewCell" rowHeight="100" id="oia-jO-L9n" customClass="SpecifiedTableViewCell">
<rect key="frame" x="0.0" y="258" width="768" height="100"/> <rect key="frame" x="0.0" y="258" width="1024" height="100"/>
<autoresizingMask key="autoresizingMask"/> <autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="oia-jO-L9n" id="AMF-ag-ZWN"> <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="oia-jO-L9n" id="AMF-ag-ZWN">
<frame key="frameInset" width="768" height="99"/> <frame key="frameInset" width="1024" height="99"/>
<autoresizingMask key="autoresizingMask"/> <autoresizingMask key="autoresizingMask"/>
<subviews> <subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" text="针对人员" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="NfI-IM-h1i"> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" text="针对人员" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="NfI-IM-h1i">
...@@ -1490,7 +1490,7 @@ timingFunction 设置动画速度曲线,默认值上面已经给出.下面说它 ...@@ -1490,7 +1490,7 @@ timingFunction 设置动画速度曲线,默认值上面已经给出.下面说它
<tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="44" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="n7q-60-s3U"> <tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="44" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="n7q-60-s3U">
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<view key="tableHeaderView" contentMode="scaleToFill" id="p9i-EO-Sx0"> <view key="tableHeaderView" contentMode="scaleToFill" id="p9i-EO-Sx0">
<rect key="frame" x="0.0" y="0.0" width="0.0" height="60"/> <rect key="frame" x="0.0" y="0.0" width="500" height="60"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
<subviews> <subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="王牌销售" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="DNW-by-H8X"> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="王牌销售" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="DNW-by-H8X">
...@@ -1658,7 +1658,7 @@ timingFunction 设置动画速度曲线,默认值上面已经给出.下面说它 ...@@ -1658,7 +1658,7 @@ timingFunction 设置动画速度曲线,默认值上面已经给出.下面说它
<viewControllerLayoutGuide type="bottom" id="yxQ-UK-Q3D"/> <viewControllerLayoutGuide type="bottom" id="yxQ-UK-Q3D"/>
</layoutGuides> </layoutGuides>
<view key="view" contentMode="scaleToFill" id="uDa-Mh-ebN"> <view key="view" contentMode="scaleToFill" id="uDa-Mh-ebN">
<rect key="frame" x="0.0" y="0.0" width="768" height="1024"/> <rect key="frame" x="0.0" y="0.0" width="1024" height="768"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews> <subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="ZY0-DP-xQk"> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="ZY0-DP-xQk">
...@@ -1693,11 +1693,11 @@ timingFunction 设置动画速度曲线,默认值上面已经给出.下面说它 ...@@ -1693,11 +1693,11 @@ timingFunction 设置动画速度曲线,默认值上面已经给出.下面说它
<tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="grouped" separatorStyle="none" rowHeight="81" sectionHeaderHeight="18" sectionFooterHeight="18" translatesAutoresizingMaskIntoConstraints="NO" id="XRP-My-vMh"> <tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="grouped" separatorStyle="none" rowHeight="81" sectionHeaderHeight="18" sectionFooterHeight="18" translatesAutoresizingMaskIntoConstraints="NO" id="XRP-My-vMh">
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<prototypes> <prototypes>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" misplaced="YES" selectionStyle="default" indentationWidth="10" reuseIdentifier="AssessmentHeaderView" rowHeight="60" id="2M5-To-MLj" customClass="AssessmentHeaderView"> <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" reuseIdentifier="AssessmentHeaderView" rowHeight="60" id="2M5-To-MLj" customClass="AssessmentHeaderView">
<rect key="frame" x="0.0" y="56" width="768" height="60"/> <rect key="frame" x="0.0" y="56" width="1024" height="60"/>
<autoresizingMask key="autoresizingMask"/> <autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="2M5-To-MLj" id="ypf-GL-4CP"> <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="2M5-To-MLj" id="ypf-GL-4CP">
<frame key="frameInset" width="768" height="60"/> <frame key="frameInset" width="1024" height="60"/>
<autoresizingMask key="autoresizingMask"/> <autoresizingMask key="autoresizingMask"/>
<subviews> <subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="1、(20分)opple新品发布____ [多选]" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="RBj-Qh-HCD"> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="1、(20分)opple新品发布____ [多选]" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="RBj-Qh-HCD">
...@@ -1718,11 +1718,11 @@ timingFunction 设置动画速度曲线,默认值上面已经给出.下面说它 ...@@ -1718,11 +1718,11 @@ timingFunction 设置动画速度曲线,默认值上面已经给出.下面说它
<outlet property="titleLabel" destination="RBj-Qh-HCD" id="uH0-fJ-SI2"/> <outlet property="titleLabel" destination="RBj-Qh-HCD" id="uH0-fJ-SI2"/>
</connections> </connections>
</tableViewCell> </tableViewCell>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" misplaced="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="AssessmentTableViewCell" rowHeight="50" id="BjI-a1-CRm" customClass="AssessmentTableViewCell"> <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="none" indentationWidth="10" reuseIdentifier="AssessmentTableViewCell" rowHeight="50" id="BjI-a1-CRm" customClass="AssessmentTableViewCell">
<rect key="frame" x="0.0" y="116" width="768" height="50"/> <rect key="frame" x="0.0" y="116" width="1024" height="50"/>
<autoresizingMask key="autoresizingMask"/> <autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="BjI-a1-CRm" id="bq8-ly-DcD"> <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="BjI-a1-CRm" id="bq8-ly-DcD">
<frame key="frameInset" width="768" height="50"/> <frame key="frameInset" width="1024" height="50"/>
<autoresizingMask key="autoresizingMask"/> <autoresizingMask key="autoresizingMask"/>
<subviews> <subviews>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="MzG-Lg-eSA"> <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="MzG-Lg-eSA">
...@@ -1818,7 +1818,7 @@ timingFunction 设置动画速度曲线,默认值上面已经给出.下面说它 ...@@ -1818,7 +1818,7 @@ timingFunction 设置动画速度曲线,默认值上面已经给出.下面说它
<viewControllerLayoutGuide type="bottom" id="AC6-es-fcm"/> <viewControllerLayoutGuide type="bottom" id="AC6-es-fcm"/>
</layoutGuides> </layoutGuides>
<view key="view" contentMode="scaleToFill" id="Irb-dN-uKr"> <view key="view" contentMode="scaleToFill" id="Irb-dN-uKr">
<rect key="frame" x="0.0" y="0.0" width="768" height="1024"/> <rect key="frame" x="0.0" y="0.0" width="1024" height="768"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews> <subviews>
<collectionView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" dataMode="prototypes" translatesAutoresizingMaskIntoConstraints="NO" id="3Pc-tn-xb9"> <collectionView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" dataMode="prototypes" translatesAutoresizingMaskIntoConstraints="NO" id="3Pc-tn-xb9">
...@@ -1949,13 +1949,13 @@ timingFunction 设置动画速度曲线,默认值上面已经给出.下面说它 ...@@ -1949,13 +1949,13 @@ timingFunction 设置动画速度曲线,默认值上面已经给出.下面说它
<viewControllerLayoutGuide type="bottom" id="f5L-3o-b9m"/> <viewControllerLayoutGuide type="bottom" id="f5L-3o-b9m"/>
</layoutGuides> </layoutGuides>
<view key="view" contentMode="scaleToFill" id="ZYe-68-bYv"> <view key="view" contentMode="scaleToFill" id="ZYe-68-bYv">
<rect key="frame" x="0.0" y="0.0" width="768" height="1024"/> <rect key="frame" x="0.0" y="0.0" width="1024" height="768"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews> <subviews>
<tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="118" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="TVZ-eo-sh6"> <tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="118" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="TVZ-eo-sh6">
<color key="backgroundColor" red="0.96078431372549022" green="0.97647058823529409" blue="0.98039215686274506" alpha="1" colorSpace="calibratedRGB"/> <color key="backgroundColor" red="0.96078431372549022" green="0.97647058823529409" blue="0.98039215686274506" alpha="1" colorSpace="calibratedRGB"/>
<view key="tableHeaderView" contentMode="scaleToFill" id="sYW-Jc-Fde"> <view key="tableHeaderView" contentMode="scaleToFill" id="sYW-Jc-Fde">
<rect key="frame" x="0.0" y="0.0" width="536" height="0.0"/> <rect key="frame" x="0.0" y="0.0" width="1024" height="0.0"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews> <subviews>
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="00登录-谭" translatesAutoresizingMaskIntoConstraints="NO" id="v3R-bc-vx5"> <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="00登录-谭" translatesAutoresizingMaskIntoConstraints="NO" id="v3R-bc-vx5">
...@@ -2008,10 +2008,10 @@ timingFunction 设置动画速度曲线,默认值上面已经给出.下面说它 ...@@ -2008,10 +2008,10 @@ timingFunction 设置动画速度曲线,默认值上面已经给出.下面说它
</view> </view>
<prototypes> <prototypes>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="none" indentationWidth="10" reuseIdentifier="CommentListTableViewCell" rowHeight="84" id="sX2-jy-tQ2" customClass="CommentListTableViewCell"> <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="none" indentationWidth="10" reuseIdentifier="CommentListTableViewCell" rowHeight="84" id="sX2-jy-tQ2" customClass="CommentListTableViewCell">
<rect key="frame" x="0.0" y="28" width="768" height="84"/> <rect key="frame" x="0.0" y="28" width="1024" height="84"/>
<autoresizingMask key="autoresizingMask"/> <autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="sX2-jy-tQ2" id="iVT-bi-RKr"> <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="sX2-jy-tQ2" id="iVT-bi-RKr">
<frame key="frameInset" width="768" height="83"/> <frame key="frameInset" width="1024" height="83"/>
<autoresizingMask key="autoresizingMask"/> <autoresizingMask key="autoresizingMask"/>
<subviews> <subviews>
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="crown" translatesAutoresizingMaskIntoConstraints="NO" id="pyu-Y7-w8M"> <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="crown" translatesAutoresizingMaskIntoConstraints="NO" id="pyu-Y7-w8M">
...@@ -2184,7 +2184,7 @@ timingFunction 设置动画速度曲线,默认值上面已经给出.下面说它 ...@@ -2184,7 +2184,7 @@ timingFunction 设置动画速度曲线,默认值上面已经给出.下面说它
<viewControllerLayoutGuide type="bottom" id="qWt-o1-N8Q"/> <viewControllerLayoutGuide type="bottom" id="qWt-o1-N8Q"/>
</layoutGuides> </layoutGuides>
<view key="view" contentMode="scaleToFill" id="aJe-X6-Cbk"> <view key="view" contentMode="scaleToFill" id="aJe-X6-Cbk">
<rect key="frame" x="0.0" y="0.0" width="768" height="1024"/> <rect key="frame" x="0.0" y="0.0" width="1024" height="768"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews> <subviews>
<collectionView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" scrollEnabled="NO" dataMode="prototypes" translatesAutoresizingMaskIntoConstraints="NO" id="exy-74-AKq"> <collectionView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" scrollEnabled="NO" dataMode="prototypes" translatesAutoresizingMaskIntoConstraints="NO" id="exy-74-AKq">
...@@ -2281,7 +2281,7 @@ timingFunction 设置动画速度曲线,默认值上面已经给出.下面说它 ...@@ -2281,7 +2281,7 @@ timingFunction 设置动画速度曲线,默认值上面已经给出.下面说它
</resources> </resources>
<simulatedMetricsContainer key="defaultSimulatedMetrics"> <simulatedMetricsContainer key="defaultSimulatedMetrics">
<simulatedStatusBarMetrics key="statusBar"/> <simulatedStatusBarMetrics key="statusBar"/>
<simulatedOrientationMetrics key="orientation"/> <simulatedOrientationMetrics key="orientation" orientation="landscapeRight"/>
<simulatedScreenMetrics key="destination"/> <simulatedScreenMetrics key="destination"/>
</simulatedMetricsContainer> </simulatedMetricsContainer>
</document> </document>
...@@ -48,7 +48,6 @@ ...@@ -48,7 +48,6 @@
- (WKWebView *)webView - (WKWebView *)webView
{ {
if (_webView == nil) { if (_webView == nil) {
_webView = [[WKWebView alloc]initWithFrame:CGRectMake(0, 0, ScreenWidth, ScreenHeight)]; _webView = [[WKWebView alloc]initWithFrame:CGRectMake(0, 0, ScreenWidth, ScreenHeight)];
} }
return _webView; return _webView;
...@@ -59,11 +58,20 @@ ...@@ -59,11 +58,20 @@
[super viewDidLoad]; [super viewDidLoad];
self.automaticallyAdjustsScrollViewInsets = NO; self.automaticallyAdjustsScrollViewInsets = NO;
self.navigationController.navigationBar.translucent = NO; self.navigationController.navigationBarHidden = YES;
if ([self respondsToSelector:@selector(setNeedsStatusBarAppearanceUpdate)])
{
[self prefersStatusBarHidden];
}
//检测登陆超时通知 //检测登陆超时通知
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(logintimeoutNotification:) name:LOGINTIMEOUT object:nil]; [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(logintimeoutNotification:) name:LOGINTIMEOUT object:nil];
} }
#pragma mark - 隐藏状态栏
- (BOOL)prefersStatusBarHidden
{
return YES;
}
#pragma mark -登陆超时回调 #pragma mark -登陆超时回调
- (void)logintimeoutNotification:(NSNotification *)not - (void)logintimeoutNotification:(NSNotification *)not
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment