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

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

      <bdo id='ZvJg6'></bdo><ul id='ZvJg6'></ul>
  1. <small id='ZvJg6'></small><noframes id='ZvJg6'>

      <tfoot id='ZvJg6'></tfoot>
    1. 如何像弹出窗口一样打开新的uiview?

      时间:2024-04-14
        <tbody id='Sqrty'></tbody>

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

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

            • <bdo id='Sqrty'></bdo><ul id='Sqrty'></ul>

              1. <legend id='Sqrty'><style id='Sqrty'><dir id='Sqrty'><q id='Sqrty'></q></dir></style></legend>
                <tfoot id='Sqrty'></tfoot>
                本文介绍了如何像弹出窗口一样打开新的uiview?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                我有一个标签栏应用程序.选项卡之一中有一个按钮.当我按下按钮时,我想通过弹出窗口之类的动画打开一个新的 uiviewcontroller.popupviewcontroller 有一个 uiwebview.我想在弹出视图中显示一些网页.我在 IB 中设计了 popupview.

                i have a tabbar app. there is a button in one of tab. i want to open a new uiviewcontroller by animation like popup when i press the button. popupviewcontroller has a uiwebview. i want to show some web pages in popup view. i designed the popupview in IB.

                如何使用 FBConnect 之类的动画打开我的 popupviewcontroller.FBconnect 会打开登录对话框视图,其中包含弹出式动画.

                how can i open my popupviewcontroller with animation like FBConnect. FBconnect opens the login dialog view with animation like a popup.

                推荐答案

                你将无法像弹出窗口一样打开 UIViewController.

                You won't be able to open like a popup a UIViewController.

                为此,您将不得不使用简单的 UIView

                For that you will have to use a simple UIView

                将 UIview(类似弹出形状)添加到当前视图.

                Add the UIview (popup shape like) to your current view.

                - (void) initPopUpView {
                  popup.alpha = 0;
                  popup.frame = CGRectMake (160, 240, 0, 0);
                  [self.view addSubview:popup];
                }
                
                - (void) animatePopUpShow {
                  [UIView beginAnimations:nil context:NULL];
                  [UIView setAnimationDuration:0.3];
                  [UIView setAnimationDelegate:self];
                  [UIView setAnimationWillStartSelector:@selector(initPopUpView)];
                
                  popup.alpha = 1;
                  popup.frame = CGRectMake (20, 40, 300, 400);
                
                  [UIView commitAnimations];
                }
                

                这篇关于如何像弹出窗口一样打开新的uiview?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                上一篇:问题关闭弹出窗口 下一篇:在这种情况下如何正确展示插页式广告?

                相关文章

                  <tfoot id='rtSTX'></tfoot>

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

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

                    <legend id='rtSTX'><style id='rtSTX'><dir id='rtSTX'><q id='rtSTX'></q></dir></style></legend>
                      <bdo id='rtSTX'></bdo><ul id='rtSTX'></ul>