[iOS] How to get reference to internal UICollectionView?

2 posts, 0 answers
  1. tomnuen
    tomnuen avatar
    2 posts
    Member since:
    May 2011

    Posted 23 Dec 2016 Link to this post

    Hi there,

    Does ListView use UICollectionVIew internally on iOS?

  2. Adrian
    Admin
    Adrian avatar
    174 posts

    Posted 28 Dec 2016 Link to this post

    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
Back to Top