-
Notifications
You must be signed in to change notification settings - Fork 369
Using Cosmos in a scroll view
Evgenii Neumerzhitckii edited this page Jan 21, 2017
·
20 revisions
There is one nuance to be aware of if you are using Cosmos in a scrollview or a table view.
After the user started scrolling, the scrollview does not pass touches to its subviews and CosmosView does not receive them. This may result in not receiving callbacks didFinishTouchingCosmos
and didTouchCosmos
when the scrollview is being scrolled.
The issue can be fixed by disabling Cancellable Content Touches for the scroll view. This has a side effect, unfortunately. If you start interacting with CosmosView you can no longer scroll until you finish changing the rating.