ios - Editing UITableviewCell when table is inside scroll view not working -


i'm trying put uitableview inside uiscrollview. scroll view horizontal paging setup switch between few pages/views.
1 of views has table editable cells. the problem arises when try swipe horizontally on table edit them. scroll view captures swipe first , pages over. know tableview collecting touches because can scroll vertically on no problem.

as disable scrolling on scrollview can swipe edit cells in table.

is there anyway can swipe on table edit cells still scroll on view if don't swipe on table, or header of table isn't editable?

thanks

you should subclass uiscrollview , implement below method - (bool)touchesshouldbegin:(nsset *)touches withevent:(uievent *)event incontentview:(uiview *)view

this make uiscrollview pass on touches content view uitableview.


Comments

Popular posts from this blog

c++ - Creating new partition disk winapi -

Android Prevent Bluetooth Pairing Dialog -

VBA function to include CDATA -