This is a migrated thread and some comments may be shown as answers.

[iOS] How to get reference to internal UICollectionView?

1 Answer 35 Views
ListView
This is a migrated thread and some comments may be shown as answers.
Thanh Tom
Top achievements
Rank 1
Thanh Tom asked on 23 Dec 2016, 03:01 PM

Hi there,

Does ListView use UICollectionVIew internally on iOS?

1 Answer, 1 is accepted

Sort by
0
Adrian
Telerik team
answered on 28 Dec 2016, 11:47 AM
Hi Tom,

In order to obtain a reference to the underlying native control, you will need to implement a custom renderer. You can find an example here. Although, this example is for chart, the process would be similar for ListView.
Internally the ListView uses a UICollectionView, however the collection view cannot be accessed directly, you should use the delegate and the data source of the ListView instead. You can see example in the documentation.

Regards,
Adrian
Telerik by Progress
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
ListView
Asked by
Thanh Tom
Top achievements
Rank 1
Answers by
Adrian
Telerik team
Share this question
or