<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 应用程序如何修复导航栏

        时间:2023-06-10
        • <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 应用程序如何修复导航栏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:如何将基于故事板的 Header 和 CustomTableCell 添加到“搜索栏和搜索显示控制器" 下一篇:viewDidDisappear 没有在 UINavigationController 上被调用

                  相关文章

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

                      <bdo id='Sad26'></bdo><ul id='Sad26'></ul>
                    <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>