<tfoot id='mntVt'></tfoot>
      <bdo id='mntVt'></bdo><ul id='mntVt'></ul>
  • <small id='mntVt'></small><noframes id='mntVt'>

    <legend id='mntVt'><style id='mntVt'><dir id='mntVt'><q id='mntVt'></q></dir></style></legend>

        <i id='mntVt'><tr id='mntVt'><dt id='mntVt'><q id='mntVt'><span id='mntVt'><b id='mntVt'><form id='mntVt'><ins id='mntVt'></ins><ul id='mntVt'></ul><sub id='mntVt'></sub></form><legend id='mntVt'></legend><bdo id='mntVt'><pre id='mntVt'><center id='mntVt'></center></pre></bdo></b><th id='mntVt'></th></span></q></dt></tr></i><div id='mntVt'><tfoot id='mntVt'></tfoot><dl id='mntVt'><fieldset id='mntVt'></fieldset></dl></div>

        iphone facebook 应用程序如何修复导航栏

        how iphone facebook app make the navigation bar fixed(iphone facebook 应用程序如何修复导航栏)
        • <tfoot id='lze1p'></tfoot>
          • <bdo id='lze1p'></bdo><ul id='lze1p'></ul>
            <legend id='lze1p'><style id='lze1p'><dir id='lze1p'><q id='lze1p'></q></dir></style></legend>

                <tbody id='lze1p'></tbody>

              <small id='lze1p'></small><noframes id='lze1p'>

                <i id='lze1p'><tr id='lze1p'><dt id='lze1p'><q id='lze1p'><span id='lze1p'><b id='lze1p'><form id='lze1p'><ins id='lze1p'></ins><ul id='lze1p'></ul><sub id='lze1p'></sub></form><legend id='lze1p'></legend><bdo id='lze1p'><pre id='lze1p'><center id='lze1p'></center></pre></bdo></b><th id='lze1p'></th></span></q></dt></tr></i><div id='lze1p'><tfoot id='lze1p'></tfoot><dl id='lze1p'><fieldset id='lze1p'></fieldset></dl></div>

                1. 本文介绍了iphone facebook 应用程序如何修复导航栏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我是 iPhone 开发的新手,想询问有关导航控制器的问题.如何使导航控制器固定在整个应用程序上,例如 facebook 导航栏.它始终在导航栏中显示通知、好友和消息.

                  I'm new in iPhone development and want to ask about the navigation controller. How can I make the navigation controller fixed over the whole application, like the facebook navigation bar. It always shows the notification, friends and messages in the navigation bar.

                  我正在尝试将自定义视图放在 titleView 中,但每次导航推送新视图时它都会消失?

                  I'm trying to put custom view in the titleView but it disappears every time the navigation push new view?

                  推荐答案

                  这对我有用:

                  toolBar = [[UIView alloc]initWithFrame:CGRectMake(105, 20, 105, 44)];
                  notificationsBtn = [UIButton buttonWithType:UIButtonTypeCustom];
                  messagesBtn = [UIButton buttonWithType:UIButtonTypeCustom];
                  
                  [notificationsBtn setImage:[UIImage imageNamed:@"notifications-icon.png"] forState:UIControlStateNormal];
                  [notificationsBtn setFrame:CGRectMake(35, 0, 35 , 44)];
                  [notificationsBtn addTarget:self action:@selector(showNotifications:) forControlEvents:UIControlEventTouchUpInside];
                  
                  [messagesBtn setImage:[UIImage imageNamed:@"messages-icon.png"] forState:UIControlStateNormal];
                  [messagesBtn setFrame:CGRectMake(70, 0, 35 , 44)];
                  [messagesBtn addTarget:self action:@selector(showMessages:) forControlEvents:UIControlEventTouchUpInside];
                  
                  [toolBar addSubview:notificationsBtn];
                  [toolBar addSubview:messagesBtn];
                  
                  [_window.rootViewController.view addSubview:toolBar];
                  

                  这篇关于iphone facebook 应用程序如何修复导航栏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  UINavigationController inside a UITabBarController inside a UISplitViewController presented modally on iPhone(UISplitViewController 内的 UITabBarController 内的 UINavigationController 以模态方式呈现在 iPhone 上) - IT屋-程序员软件开发技术分
                  ViewController in UINavigationController orientation change(UINavigationController 中的 ViewController 方向更改)
                  Custom back button in UINavigationController(UINavigationController 中的自定义后退按钮)
                  How to get the previous viewcontroller that pushed my current view(如何获取推送我当前视图的上一个视图控制器)
                  The correct way to set a light status bar text color in iOS 7 based on different ViewControllers(iOS 7中基于不同ViewControllers设置灯光状态栏文字颜色的正确方法)
                  Show UITabBar when UIViewController pushed(推送 UIViewController 时显示 UITabBar)

                    1. <small id='Sad26'></small><noframes id='Sad26'>

                        <bdo id='Sad26'></bdo><ul id='Sad26'></ul>
                          <tbody id='Sad26'></tbody>
                        <i id='Sad26'><tr id='Sad26'><dt id='Sad26'><q id='Sad26'><span id='Sad26'><b id='Sad26'><form id='Sad26'><ins id='Sad26'></ins><ul id='Sad26'></ul><sub id='Sad26'></sub></form><legend id='Sad26'></legend><bdo id='Sad26'><pre id='Sad26'><center id='Sad26'></center></pre></bdo></b><th id='Sad26'></th></span></q></dt></tr></i><div id='Sad26'><tfoot id='Sad26'></tfoot><dl id='Sad26'><fieldset id='Sad26'></fieldset></dl></div>
                        <tfoot id='Sad26'></tfoot>
                        <legend id='Sad26'><style id='Sad26'><dir id='Sad26'><q id='Sad26'></q></dir></style></legend>