S
S
sou1t2014-10-13 17:01:48
iOS
sou1t, 2014-10-13 17:01:48

How to make scrolling work in ios application?

I am writing a master detail application on iphone, this is my first experience of writing programs on ios. The problem is that, it is not possible to implement paging of the text, I am attaching a video of how it works, tell me what is my mistake?
Video

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
An, 2014-10-14
@sou1t

Ah, got it. To do this, you need to build a slightly different hierarchy:
the base view is uiscrollview, which contains a uiimageview with a picture at the top and a UILabel with text and a multiline set below it (well, or a uitextview with scroll disabled so as not to conflict). uiscrollview must have contentssize correctly set

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question