|
@@ -300,6 +300,11 @@
|
|
|
|
|
|
//HLog(@"URLString:\n%@",imageURLStringsGroup);
|
|
|
|
|
|
+ if(_curScrollView){
|
|
|
+ [_curScrollView removeFromSuperview];
|
|
|
+ _curScrollView = nil;
|
|
|
+ }
|
|
|
+
|
|
|
_curScrollView = [SDCycleScrollView cycleScrollViewWithFrame:CGRectZero imageURLStringsGroup:imageURLStringsGroup];
|
|
|
_curScrollView.autoScroll = NO;
|
|
|
_curScrollView.infiniteLoop = NO;
|
|
@@ -345,10 +350,19 @@
|
|
|
[weakSelf didClickScreenFun:self->_isHideMsgType];
|
|
|
};
|
|
|
|
|
|
+ if(_curEditTypeBottomView){
|
|
|
+ [_curEditTypeBottomView removeFromSuperview];
|
|
|
+ _curEditTypeBottomView = nil;
|
|
|
+ }
|
|
|
+
|
|
|
_curEditTypeBottomView = [[editTypeBottomView alloc] init];
|
|
|
_curEditTypeBottomView.isBlackType = YES;
|
|
|
[self.view addSubview:_curEditTypeBottomView];
|
|
|
- //_curEditTypeBottomView.hidden = YES;
|
|
|
+ //_curEditTypeBottomView.backgroundColor = [UIColor greenColor];
|
|
|
+ if(!_isPortraitType){
|
|
|
+ _curEditTypeBottomView.hidden = YES;
|
|
|
+ }
|
|
|
+
|
|
|
[_curEditTypeBottomView mas_makeConstraints:^(MASConstraintMaker *make) {
|
|
|
make.left.mas_equalTo(0);
|
|
|
make.right.mas_equalTo(0);
|