objective c - How to implement pan gesture like iOS MAIL app such that only one cell is opened at a moment? -


i have made custom buttons of deleting , other few options cells similar ios mail app have "delete", "archive", "flag" etc.

if have noticed if 1 cell swiped open cannot open after wards, if try previous swipe undo i.e. opened cell restored normal position.... wish apply same technique mine cell.

for code, have implemented https://www.raywenderlich.com/62435/make-swipeable-table-view-cell-actions-without-going-nuts-scroll-views tutorial app. can 1 suggest how imitate behaviour open cell swipe enable ~= mail app cell swipe behavious

the approach used not of table editing, buttons embed on cell's super view , swipe view above them panned across!! no delegates method of editing of anykind being used!

have tried ?

- (nullable nsarray<uitableviewrowaction *> *)tableview:(uitableview *)tableview editactionsforrowatindexpath:(nsindexpath *)indexpath ns_available_ios(8_0) __tvos_prohibited; 

Comments

Popular posts from this blog

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -

configurationsection - activeMq-5.13.3 setup configurations for wildfly 10.0.0 -