<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?

      how to open a new uiview like a popup?(如何像弹出窗口一样打开新的uiview?)
        <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?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

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

                相关文档推荐

                WebKit on th iPhone: is it possible to copy text to the clipboad with JavaScript(iPhone上的WebKit:是否可以使用JavaScript将文本复制到剪贴板)
                When compiling for multiple targets in XCode, how do i ensure that certain files will not be included one target(在 XCode 中为多个目标编译时,我如何确保某些文件不会包含在一个目标中)
                Selecting text in mobile Safari on iPhone(在 iPhone 上的移动 Safari 中选择文本)
                Create UIImage cutout(创建 UIImage 抠图)
                Draggable UIImageView Partially Transparent amp; Irregular Shaped(可拖动的 UIImageView 部分透明 amp;不规则形状)
                How to set the resolution of a saved image from the UIImagePickerController(如何从 UIImagePickerController 设置保存图像的分辨率)
                  <tbody id='rtSTX'></tbody>

                      <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>