English 中文(简体)
电话用户输入结构
原标题:Iphone user input structure

I am new to iPhone development and I am looking at exactly what is shown in the picture to allow users to write input. But I cannot find what exactly is it! Are those some special kind of UITextFields? Are they a special kind of UITableView? What is it?

"https://i.sstatic.net/WfwaL.png" alt="我要找的东西"/"

问题回答

这是自定义 UIT 可查看域的 UIT 用户查看器, 包含 UIText 域 。 您可以从自定义 XIB 文件装入 UIT 可查看器, 在其中丢弃了 UIT 域 。 从每个域所见的“ 暗号 ”, 就是 UIText 域的“ 占有权者 ” 属性 。

这些表格是按自定义的表格单元格分组的表格视图,这些表格单元格包含文字字段和单行条纹分隔符。请务必将样式设置为“分组”

以上基本上包括UitableviewCell及其内有Uitextfield的UitableviewCell。

如果您在 ios5 (我假设你会是), 您可以从您界面构建器和那里添加 UItable View control, 接受建议将表格样式设置为“ 分组 ” 。

您应该对背景有与上述相类似的视角 。

在此, 如果您选择一个单元格, 您应该可以选择为适合的视图单元格设置几个不同的样式 。

如果默认样式都没有为您工作, 请选择自定义并添加您自己的utextfield 或 uibutton 。

注:原型单元格之间有某种差异。





相关问题
How to change out-of-focus text selection color in Xcode?

Okay, I ll bite. I ve got really pleasant code/window colors set up in Xcode. Ordinarily, my selection color is very visible. When I am doing a project search and iterating through the results, ...

Iphone NSTimer Issue

Hi I am new to objective c. I am trying to make an app for iphone. I have a button on my view, and the click on which the function playSound is called. This is working properly. It does plays the ...

Include a .txt file in a .h in C++?

I have a number of places where I need to re-use some template code. Many classes need these items In a .h could I do something like: #include <xxx.txt> and place all of this code in the ....

Iterating over string/strlen with umlauted characters

This is a follow-up to my previous question . I succeeded in implementing the algorithm for checking umlauted characters. The next problem comes from iterating over all characters in a string. I do ...

Xcode open two editor windows with same file

Is it possible to open the same file in two separate windows in Xcode. I can open a file in one window and the same file in the main Xcode editor window, but I wanted two separate fulltime editor ...

Forcing code signing refresh in Xcode

In our environment, we share resources across multiple projects and platforms. When building for iPhone, only a subset of those resources are needed. Since that subset is still considerable, we have ...

热门标签