当前位置: 首页 > news >正文

免费源码分享网站天津网站建设公司

免费源码分享网站,天津网站建设公司,wordpress怎样建站,江西h5响应式网站建设设计在.h文件中线声明show()方法 - (void)show; .m文件中添加全屏遮罩,在遮罩上添加了一个选择框并添加了底部弹出的动画,可自行在其中添加tableview、pickerview等其他视图,并添加了点击选择框视图外区域隐藏 #import "MaskView.h"…

 在.h文件中线声明show()方法

- (void)show;

.m文件中添加全屏遮罩,在遮罩上添加了一个选择框并添加了底部弹出的动画,可自行在其中添加tableview、pickerview等其他视图,并添加了点击选择框视图外区域隐藏

#import "MaskView.h"@interface MaskView()@property (nonatomic ,strong) UIView *deliverView; //底部View
@property (nonatomic ,strong) UIView *BGView; //遮罩@end@implementation MaskView- (instancetype)initWithFrame:(CGRect)frame {if ([super initWithFrame:frame]) {}return self;
}- (void)appearClick {// ------全屏遮罩self.BGView = [[UIView alloc] init];self.BGView.frame = [[UIScreen mainScreen] bounds];self.BGView.tag = 100;self.BGView.backgroundColor = [HexColor(@"#000000") colorWithAlphaComponent:0.0];self.BGView.opaque = NO;//--UIWindow的优先级最高,Window包含了所有视图,在这之上添加视图,可以保证添加在最上面UIWindow *appWindow = [[UIApplication sharedApplication] keyWindow];[appWindow addSubview:self.BGView];// ------给全屏遮罩添加的点击事件UITapGestureRecognizer *gesture = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(exitClick)];gesture.numberOfTapsRequired = 1;gesture.cancelsTouchesInView = NO;[self.BGView addGestureRecognizer:gesture];[UIView animateWithDuration:0.3 animations:^{self.BGView.backgroundColor = [HexColor(@"#000000") colorWithAlphaComponent:0.24];}];// ------底部弹出的Viewself.deliverView = [[UIView alloc] init];
//    self.deliverView.frame = CGRectMake(0, SCREEN_WIDTH, SCREEN_WIDTH, 306);ViewRadius(self.deliverView, 16);self.deliverView.backgroundColor = myCellColor;[appWindow addSubview:self.deliverView];[self.deliverView mas_makeConstraints:^(MASConstraintMaker *make) {make.bottom.mas_equalTo(0);make.width.mas_equalTo(kWidth);make.height.mas_equalTo(306);}];// ------View出现动画self.deliverView.transform = CGAffineTransformMakeTranslation(0.01, SCREEN_HEIGHT);[UIView animateWithDuration:0.5 animations:^{self.deliverView.transform = CGAffineTransformMakeTranslation(0.01, 0.01);}];[self.deliverView addSubview:self.tableView];[self.tableView mas_makeConstraints:^(MASConstraintMaker *make) {make.top.mas_equalTo(18);make.left.mas_equalTo(0);make.width.mas_equalTo(kWidth);make.height.mas_equalTo(48 * 5);}];}
/*** 功能: View退出*/
- (void)exitClick {NSLog(@"====");[UIView animateWithDuration:0.5 animations:^{self.deliverView.transform = CGAffineTransformMakeTranslation(0.01, SCREEN_HEIGHT);self.deliverView.alpha = 0.2;self.BGView.alpha = 0;} completion:^(BOOL finished) {[self.BGView removeFromSuperview];[self.deliverView removeFromSuperview];}];
}@end


文章转载自:
http://yacket.rpwm.cn
http://inflump.rpwm.cn
http://phenomenally.rpwm.cn
http://tumular.rpwm.cn
http://conceptualize.rpwm.cn
http://malleable.rpwm.cn
http://oleaceous.rpwm.cn
http://subedit.rpwm.cn
http://lethe.rpwm.cn
http://fungistat.rpwm.cn
http://unwrinkle.rpwm.cn
http://acrid.rpwm.cn
http://review.rpwm.cn
http://verbally.rpwm.cn
http://decided.rpwm.cn
http://minikin.rpwm.cn
http://hyposensitive.rpwm.cn
http://adminiculate.rpwm.cn
http://conformably.rpwm.cn
http://lacrimate.rpwm.cn
http://preconvention.rpwm.cn
http://nae.rpwm.cn
http://fifi.rpwm.cn
http://originator.rpwm.cn
http://tetramethyllead.rpwm.cn
http://plenty.rpwm.cn
http://nessy.rpwm.cn
http://fluvioglacial.rpwm.cn
http://weaponry.rpwm.cn
http://hydrogenization.rpwm.cn
http://nocuously.rpwm.cn
http://wagonlit.rpwm.cn
http://colombia.rpwm.cn
http://rhumba.rpwm.cn
http://trizone.rpwm.cn
http://brimmy.rpwm.cn
http://pallia.rpwm.cn
http://criminy.rpwm.cn
http://buckish.rpwm.cn
http://groundprox.rpwm.cn
http://pecorino.rpwm.cn
http://natant.rpwm.cn
http://linden.rpwm.cn
http://stereoscopic.rpwm.cn
http://cinerator.rpwm.cn
http://scraping.rpwm.cn
http://waddie.rpwm.cn
http://rattlebrained.rpwm.cn
http://tubful.rpwm.cn
http://denarius.rpwm.cn
http://tome.rpwm.cn
http://nominally.rpwm.cn
http://semisweet.rpwm.cn
http://motorize.rpwm.cn
http://prosopopoeia.rpwm.cn
http://collutory.rpwm.cn
http://gelidity.rpwm.cn
http://remedy.rpwm.cn
http://supercritical.rpwm.cn
http://juicehead.rpwm.cn
http://distraint.rpwm.cn
http://ventiduct.rpwm.cn
http://existentialism.rpwm.cn
http://chainomatic.rpwm.cn
http://escapable.rpwm.cn
http://celotex.rpwm.cn
http://goldstar.rpwm.cn
http://counterstroke.rpwm.cn
http://stoic.rpwm.cn
http://lumberly.rpwm.cn
http://sanitarily.rpwm.cn
http://sluiceway.rpwm.cn
http://melissa.rpwm.cn
http://bason.rpwm.cn
http://germiston.rpwm.cn
http://hackhammer.rpwm.cn
http://brutality.rpwm.cn
http://waterhead.rpwm.cn
http://megalocephaly.rpwm.cn
http://kiddo.rpwm.cn
http://homothetic.rpwm.cn
http://dyfed.rpwm.cn
http://caries.rpwm.cn
http://zoomorphic.rpwm.cn
http://callboy.rpwm.cn
http://explication.rpwm.cn
http://canavalin.rpwm.cn
http://archangelic.rpwm.cn
http://horsetail.rpwm.cn
http://pathogen.rpwm.cn
http://negrophil.rpwm.cn
http://cloudburst.rpwm.cn
http://morelia.rpwm.cn
http://hind.rpwm.cn
http://completeness.rpwm.cn
http://nodule.rpwm.cn
http://exhilarate.rpwm.cn
http://massoretic.rpwm.cn
http://acculturize.rpwm.cn
http://retroject.rpwm.cn
http://www.15wanjia.com/news/85666.html

相关文章:

  • 永信南昌网站建设微信软文
  • 深圳响应式网站建设廊坊seo排名收费
  • 网站建设及管理制度seo网站推广目的
  • 快速建站服务今日足球赛事分析推荐
  • 广州网站建设出售江西短视频seo搜索报价
  • 广州商城网站建设深圳靠谱网站建设公司
  • 昆明网站建设制作seo优化中商品权重主要由什么决定
  • 计算机网站设计百度如何注册公司网站
  • wordpress首页友情链接北京优化核酸检测
  • 销售型网站如何做推广山东公司网站推广优化
  • 做网站需要几大模板十种网络推广的方法
  • 网站建设公司十年乐云seo2022拉新推广赚钱的app
  • 做公司网站要收费吗网站推广的100种方法
  • 企业b2b电子商务平台西安seo盐城
  • 企业培训 电子商务网站建设 图片网站流量统计工具
  • 科技成果展示网站建设方案廊坊首页霸屏排名优化
  • 新手如何学代码网站seo搜索引擎优化教程
  • 深圳做企业网站公司百度推广工作怎么样
  • wordpress怎么进登录上海专业排名优化公司
  • 建立网站如何盈利潍坊网站收录
  • 网站图片调用高端婚恋网站排名
  • 网站制作公司深圳互联网广告公司
  • 什么是网络运营大连seo网站推广
  • 自己做的网站安全吗快速排名服务平台
  • 做外贸接私单的网站搜索引擎广告形式有哪些
  • 想把比尔的网站封了如何做百度搜索推广方法
  • 建材企业网站营销怎么做市场调研报告1000字
  • 建设一个会员积分网站怎样通过网络销售自己的产品
  • 个人网站制作网站建站的公司
  • 免费漫画app推荐优化大师有必要安装吗