user1639377
user1639377

Reputation: 117

Insert a scrollview into another scrollview

Is it to possible insert a scrollview into another scrollview? I noticed that the contained scrollview is freezed and do not move when I scroll the main

Upvotes: 0

Views: 66

Answers (2)

Abid Hussain
Abid Hussain

Reputation: 1549

The UIScrollView can be contained in another UIScrollView. If the contained scrollView's content size is not greater than the parent scrollView then it'll remain frozen.

Upvotes: 1

pbibergal
pbibergal

Reputation: 2921

You absolutely can, UIScrollView inherits from UIView and you can use it's addSubview method.

Upvotes: 1

Related Questions