0

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

Saboor Awan
  • 1,567
  • 4
  • 24
  • 37

2 Answers2

0

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.

David Neiss
  • 8,161
  • 2
  • 20
  • 21
  • so how uiscrollview will override the default scroll of uitableview. I have tried it, but since i am new to iphone (monotouch) development. i failed to achieve the functionality. can u plz give some code example – Saboor Awan May 01 '11 at 18:52
  • You are gonna have to be more specific if you are having a problem then. – David Neiss May 01 '11 at 18:54
  • Sorry, the "Scrolling" sample code in the SDK is for straight IOS., not monotouch. – David Neiss May 01 '11 at 19:04
0

this may be a good starting point:

https://github.com/samsoffes/sspersonviewcontroller

its a customisation of the abpersonviewcontroller

Nik Burns
  • 3,363
  • 2
  • 29
  • 37