仿开眼视频

源文件支持交流修改使用

开发语言:

分类:其他系统

    分享到:

源码搜索

  • 详情介绍 - 【仿开眼视频】
scroller = [[UIScrollView alloc]initWithFrame:CGRectMake(0, 104, WIDTH, HEIGHT - 104)];
    scroller.delegate = self;
    scroller.contentSize = CGSizeMake(WIDTH * 3, HEIGHT - 104);
    [self.view addSubview:scroller];
     
    __weak typeof(self)mySelf = self;
    history = [[HistoricalViewController alloc]init];
    history.blockInterfaceJump = ^(SortModel *model)
    {
        DetailViewController *detail = [[DetailViewController alloc]init];
        detail.model = model;
        [mySelf.navigationController pushViewController:detail animated:YES];
    };
    month = [[MonthViewController alloc]init];
    month.blockInterfaceJump = ^(SortModel *model)
    {
        DetailViewController *detail = [[DetailViewController alloc]init];
        detail.model = model;
        [mySelf.navigationController pushViewController:detail animated:YES];
    };
    week = [[WeekViewController alloc]init];
    week.blockInterfaceJump = ^(SortModel *model)
    {
        DetailViewController *detail = [[DetailViewController alloc]init];
        detail.model = model;
        detail.hidesBottomBarWhenPushed = YES;
        [mySelf.navigationController pushViewController:detail animated:YES];
    };
    NSArray *views = @[week.view,month.view,history.view];
    for (int i = 0; i < 3; i++)
    {
        UIView *view = views[i];
        view.frame = CGRectMake(i * WIDTH, 0, WIDTH, HEIGHT - 104);
        [scroller addSubview:view];
    }
    scroller.showsHorizontalScrollIndicator = NO;
    scroller.showsVerticalScrollIndicator = NO;
    scroller.pagingEnabled = YES;
    scroller.bounces = NO;

特别说明:
☉如果服务器暂不能下载请稍后重试!总是不能下载,请联系客服QQ:597260440,谢谢合作!
☉本站所有源码仅供学习与参考,请勿用于商业用途。
模板说明:
源码-仿开眼视频,其版权归原作者所有,如损害你的权益请联系客服QQ:597260440给予处理。

本文永久链接:http://code.fangbianle.com/goods/show-5191.html

相关源码

在线客服
热线电话

备案号:豫ICP备14017793号-2编辑热线:0371-56691758

Copyight@2014-2018 All Rights Reserved 页面加载耗时0.107秒