`
woainike
  • 浏览: 79853 次
  • 性别: Icon_minigender_1
  • 来自: 武汉
最近访客 更多访客>>
社区版块
存档分类
最新评论

more Table Bar 状态,访问more页面的控制

阅读更多

    if([TabBarController.moreNavigationController.topViewController.view isKindOfClass:[UITableView class]]){

 

        //

        UITableView * moreView = (UITableView*)TabBarController.moreNavigationController.topViewController.view;

 

        if([[TabBarController.moreNavigationController.topViewController.view subviews] count]){

 

            for (UITableViewCell * cell in [moreView visibleCells]) {

                cell.backgroundColor = [UIColor clearColor];

                cell.textLabel.textColor = [UIColor clearColor];

            }

        }

        //

 

        UIView * newView = [[UIView alloc] initWithFrame:CGRectMake(0,0, 320, 367)];

 

        UIImageView * imageView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"service1.png"]];

 

        imageView.opaque = NO;

        imageView.alpha = 1;

        [newView addSubview:imageView];

 

        TabBarController.moreNavigationController.topViewController.view.backgroundColor = [UIColor clearColor];

        TabBarController.moreNavigationController.topViewController.view.frame = CGRectMake(0, 0, 320, 367);

 

        [newView addSubview:TabBarController.moreNavigationController.topViewController.view];

        TabBarController.moreNavigationController.topViewController.view = newView;

 

    }



访问navigationbar的方法

 TabBarController.moreNavigationController.topViewController.navigationItem

分享到:
评论

相关推荐

    (0156)-iOS/iPhone/iPAD/iPod源代码-选项卡(Tab Bar)-Expandable TabBar

    本资源“(0156)-iOS/iPhone/iPAD/iPod源代码-选项卡(Tab Bar)-Expandable TabBar”提供了一个实现可扩展的TabBar的示例,它允许用户在需要时查看并访问更多的选项。这种设计可以解决当TabBar选项过多时,...

    让你的博客变得多语种的Global Translator插件

    •Schedule a page for a new translation if it has been cached more than X days ago ("0" means "never"):当一个页面已经被缓存超过X天后,计划对其进行新的翻译过程。(填入0代表不进行这个操作)。 Cache ...

    A Practical Guide to Designing with Data.pdf

    Beyond the basic bar charts and line graphs taught in schools, a new breed of illustrations has recently appeared. These new ʻvisualizationsʼ are an attempt to explain the underlying information ...

    大作文三段模版替换句

    1. It can be seen clearly from the barchart/pie chart/table/line graph that... 2. As can be seen clearly from the bar chart/pie chart/table/line graph,... 3. We can see clearly from the bar chart/pie ...

    apktool documentation

    // builds bar folder into bar/dist/bar.apk file $ apktool b . // builds current directory into ./dist $ apktool b bar -o new_bar.apk // builds bar folder into new_bar.apk $ apktool b bar.apk // ...

    Axure交互原型Web组件库 完整版v1.rp

    按纽状态 按纽风格 图标按纽 组合按钮 动态按纽 功能按纽 导航栏 Nav Bar 常用水平导航栏 灰色背景导航栏 暗色背景导航栏 可展开式导航栏 菜单 Menu 常用导航菜单 按纽列表菜单 下拉菜单...

    Bootstrap 4 responsive web design

    The price table section 75 The footer 78 Forming the forms 81 Newsletter form 81 Contact form 83 The sign-in form 87 Images 89 Helpers 91 Floating and centering blocks 91 Context colors 91 Spacing 92 ...

    Python读取Excel表格,并同时画折线图和柱状图的方法

    bar.add("博客文章阅读量折线图展示", t, y, is_more_utils=True) ``` 最后,通过 `render()` 方法将图表保存为HTML文件: ```python bar.render('保存路径') ``` 完整的代码如下所示: ```python # coding:utf-8 ...

    Metasploit Bootcamp

    He is an M.tech in Computer Sciences and a thought leader who has contributed to raising the bar of understanding on cyber safety and ethical hacking among students of many colleges and universities ...

    Google C++ Style Guide(Google C++编程规范)高清PDF

    Table of Contents Header Files The #define Guard Header File Dependencies Inline Functions The -inl.h Files Function Parameter Ordering Names and Order of Includes Scoping Namespaces Nested Classes ...

    Foundations for Analytics with Python O-Reilly-2016-Clinton W. Brownley

    The matplotlib section illustrates how to create histograms and bar, line, scatter, and box plots. The pandas section discusses some of the ways pandas simplifies the syntax you need to create these ...

    The Busy Coders Guide to Android Development最终版2019

    The Table of Contents Each bullet shown below represents a chapter. Use the search field in the nav bar to search all of the CommonsWare books to see what they hold! Key Android Concepts Choosing ...

    CommonsWare.The.Busy.Coders.Guide.to.Android.Development.Version.8.2.2017

    Table of Contents Preface Key Android Concepts Choosing Your Development Toolchain Tutorial #1 - Installing the Tools Android and Projects Tutorial #2 - Creating a Stub Project Getting Around Android ...

    R.for.Data.Analysis.in.easy.steps.epub

    There are complete example programs that demonstrate how to create Line graphs, Bar charts, Histograms, Scatter graphs, Box plots, and more. The code for each R script is listed, together with ...

    曲线拟合工具CurveExpert 1.0

    + More attractive help file, with more keywords for searching + new help search facility available directly from CurveExpert Bug Fixes: + If a polynomial was already calculated, selecting ...

Global site tag (gtag.js) - Google Analytics