English 中文(简体)
UIText 外地
原标题:UITextField not updating
  • 时间:2011-10-01 18:09:04
  •  标签:
  • ios

I m having trouble updating the UITextField for an iPhone app. I ve set the layout with the Interface Builder, created an instance of the text field in the ViewController, and set the ViewController as the delegate for the text field.

当我进入信息和报社Done时,文稿中的实地标语似乎没有反应。

是否有任何想法说明为什么不工作?

最佳回答

如果你在接口建设商中创建案文领域,那么你就不必在编码中加以操作和编辑。 将案文领域与IB的档案所有人(如果假定档案所有人是你的观察控制员)联系起来。 如果你需要具体提及,也可以在你看来建立并删除控制器,并将它与你的文本领域联系起来。 这在最基本的教学参考文献中作了阐述。

在压力了原样的纽特时,采用<条形码>,从<条码>UIText FieldDelegate 礼宾中采用<0>。 辞职者首先采用这种方法,并交还YES。

问题回答

贵文本是否与《公约》相关? 或许,如果你张贴一些相关的法典,将会很有帮助。





相关问题
List Contents of Directory in a UITableView

I am trying to list the contents of Ringtones directory in a TableView, however, I am only getting the last file in the directory in ALL cells, instead of file per cell. This is my code: - (...

iPhone NSUserDefaults persistance difficulty

In my app i have a bunch of data i store in the NSUserdefaults. This information consists of an NSObject (Object1) with NSStrings and NSNumbers and also 2 instances of yet another object (Object2). ...

Writing a masked image to disk as a PNG file

Basically I m downloading images off of a webserver and then caching them to the disk, but before I do so I want to mask them. I m using the masking code everyone seems to point at which can be found ...

Resize UIImage with aspect ratio?

I m using this code to resize an image on the iPhone: CGRect screenRect = CGRectMake(0, 0, 320.0, 480.0); UIGraphicsBeginImageContext(screenRect.size); [value drawInRect:screenRect blendMode:...

Allowing interaction with a UIView under another UIView

Is there a simple way of allowing interaction with a button in a UIView that lies under another UIView - where there are no actual objects from the top UIView on top of the button? For instance, ...

热门标签