XCODE:对于< UIFileUploadFallbackRootViewController的开始/结束外观转换的不平衡调用 [英] XCODE: Unbalanced calls to begin/end appearance transitions for <UIFileUploadFallbackRootViewController

查看:54
本文介绍了XCODE:对于< UIFileUploadFallbackRootViewController的开始/结束外观转换的不平衡调用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的应用程序中有一个UIWebView,在该Web视图中,我导航到移动站点,在该站点上有一个按钮输入,类型为"Choose File",用于加载新的个人资料图片.每次我从出现的下拉式iPhone菜单中尝试选择现有的"或拍摄照片"选项时,当View Controller消失以允许我选择照片时,都会收到以下错误消息:

I have in my app a UIWebView, and in that web view I navigate to my mobile site where there is a button input with type 'Choose File' for loading a new profile picture. Each time I try the 'Choose Existing' or 'Take Photo' options from the resulting pull-up iPhone menu, I receive the following error when my View Controller disappears to allow me to choose a photo:

用于UIFileUploadFallbackRootViewController的开始/结束外观转换的不平衡调用:0x20d65940"

选择图像后,应用程序仅返回黑屏...

After an image is chosen, the app just returns a black screen...

当我在Safari中执行相同的操作时,选择文件"功能可以很好地工作.

When I perform the same operation in Safari, the 'Choose File' function works perfectly fine.

注释:

1.)我在我的应用程序中使用了UINavigationController(即,弹出并推送视图).

1.) I am using a UINavigationController within my app (i.e. popping and pushing views).

2.)移动网站上的HTML代码,用于加载照片:

2.) HTML Code on mobile website for loading photos:

<form class="appnitro" enctype="multipart/form-data" method="post" action="mysite.php">
<input id="file1" name="file1" class="button_text" type="file" size="50px"/> <br />
<input id="submitpic" class="button_text" type="submit" name="submit" value="Save Picture"     />

使用jquery mobile.

在此先感谢您提供的任何帮助!

Thanks in advance for any help you can offer!

推荐答案

未设置窗口的rootViewController.

Your window's rootViewController is not set.

查看此答案: https://stackoverflow.com/a/16548036/199516

这篇关于XCODE:对于&lt; UIFileUploadFallbackRootViewController的开始/结束外观转换的不平衡调用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆