自定义 iPhone 联系人详细信息屏幕

发布于 2024-11-04 02:58:47 字数 268 浏览 7 评论 0原文

我需要制作一个与 iPhone 地址簿联系人详细视图相同的屏幕。我们可以在其中显示联系人图像、相关联系号码、地址、网址等。

我必须在其中显示一些与我的应用程序相关的自定义属性。

所以我采用图像控件、几个标签和一个合适的视图来显示一些联系人。

但问题是,当我滚动屏幕时,它只滚动 uitableview,而不是我们在 iphone 中看到的整个屏幕。

我是 iPhone 开发新手,所以如果有人给我一些代码示例来实现该功能会对我更有帮助,

谢谢

I have a requirement to make a screen same as iphone address book contacts detail view. in which we can display contact image, related contact no.s, addresses, urls, etc.

In which i have to show some custom properties in it related to my app.

so I take image control, a couple of labels for and a uitableview to display some contacts.

but the problem is that when i scroll the screen, it only scrolls the uitableview, not the whole screen as we see in iphone.

I am new to iphone development so if somebody give me some code example by which i achieve the functionality would be more helpful for me

thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

故人如初 2024-11-11 02:58:48

如果您希望更大的区域可滚动,请将其全部嵌入 UIScrollView 中。网上有很多这样的教程,google一下。 SDK 文档中还有一些示例代码,请查看“Scrolling”Apple 示例代码。

If you want a greater area to be scrollable, embed it all within a UIScrollView. There are lots of tutorials for such on net, google for it. There is also some sample code in SDK docs, look at "Scrolling" Apple sample code.

最后的乘客 2024-11-11 02:58:48

这可能是一个很好的起点:

https://github.com/samsoffes/sspersonviewcontroller

它的自定义abperson 视图控制器

this may be a good starting point:

https://github.com/samsoffes/sspersonviewcontroller

its a customisation of the abpersonviewcontroller

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文