简体   繁体   English

Adhoc应用程序iO中的UITextField用户交互问题

[英]UITextField user interaction issue in Adhoc application iOs

I have created an iPhone app and created it's AdHoc installation file (.ipa) using XCode 4.5, iOs6. 我创建了一个iPhone应用程序,并使用XCode 4.5,iOs6创建了它的AdHoc安装文件(.ipa)。 And I have installed the app on my device successfully via iTunes. 我已经通过iTunes成功在我的设备上安装了该应用程序。

The issue is, the app has one Login page and Sign Up page, which contains UITextFields. 问题是,该应用程序有一个登录页面和注册页面,其中包含UITextFields。 In the login page it created via IB but in sign up page it is through code and added as subview of UIScrollView. 在它通过IB创建的登录页面中,但在注册页面中,它是通过代码并添加为UIScrollView的子视图。 In both the pages everything is working fine. 在这两个页面中一切正常。 But after the adhoc installation, I opened the sign up page and clicked on any textfield, it is selected and I could enter the value. 但是在安装adhoc之后,我打开了注册页面并点击了任何文本字段,它被选中并且我可以输入值。 But after that, I am not able to select any of the textfields in the sign up page. 但在那之后,我无法在注册页面中选择任何文本字段。 I dismissed the sign up page, then the textfields in the login page also not working. 我解雇了注册页面,然后登录页面中的文本字段也无法正常工作。

It is only happening for adhoc installed app. 它只适用于adhoc安装的应用程序。 Is there any possible reason for this issue? 这个问题有什么可能的原因吗?

Please help. 请帮忙。

Issue update 问题更新

I tried to track the issue using Product>Profile>Automation. 我尝试使用产品>配置文件>自动化来跟踪问题。 When I tested through it I got the same issue. 当我通过它测试时,我遇到了同样的问题。 At the same time it is working fine when it run from code. 同时它从代码运行时工作正常。 Does it help someone to give me some hints? 它能帮助别人给我一些提示吗?

Did you properly check the delegate methods for UITextField? 您是否正确检查了UITextField的委托方法? Ensure that it properly calls its delegate method at the end of editing. 确保在编辑结束时正确调用其委托方法。 From your explanation, I understand that, you could select and enter values in the first text box. 根据您的解释,我了解到,您可以在第一个文本框中选择并输入值。 So, at the end of editing it should return YES. 因此,在编辑结束时它应该返回YES。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM