質問

サイドスワイプをボタンなどのより多くのUIを表示できるようにするために、SWTableViewCellコードを実装しました。

UIScrollview ITサブクラスは、Ping Pongのマニックゲームのように前後に点灯しています。

私はクラスを変更しに行きましたが、UIScrollViewが実現されていないようではなかった。

私は、スクロールビューの代わりにPANジェスチャとオーバーレイビューを備えた自分のバージョンのスワイプセルを作成する必要があると考えています。

役に立ちましたか?

解決

サンプルをチェックしてください: https://github.com/runmad/rmswipetableviewcell

あなたにとって役に立ちます、

:)

他のヒント

Not sure if this will give you the effect you desire, but you can make it less "jumpy" by altering the decelerationRate. Try:

someScrollView.decelerationRate = UIScrollViewDecelerationRateFast;

If that's the right idea, you can jump-to-definition in Xcode, and checkout the float value, then try your own.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top