CEWendel / SWTableViewCell

An easy-to-use UITableViewCell subclass that implements a swippable content view which exposes utility buttons (similar to iOS 7 Mail Application)
MIT License
7.14k stars 1.27k forks source link

incorrect view for more than 2 buttons #394

Open alihanifi opened 7 years ago

alihanifi commented 7 years ago

hi, my problem is that i want to have both leftUtilityButtons and rightUtilityButtons in a UITableViewCell and i have achieved this matter. but there are 2 problems. 1- if i want to use a language that its direction is RTL (eg. Arabic) i wont be able to use accessory anymore because the xib flips automatically and accessory fall outside of view. see the pictures below :

screen shot 1395-03-23 at 4 55 38 pm screen shot 1395-03-23 at 4 59 39 pm

2- so the first problem made me get rid of accessory type for the cells but then i ran into another problem this time without the accessory. the problem appears when i define 3 button for the leftUtilityButtons! it works fine when 2 buttons are defined but when it is 3, it looks like this :

screen shot 1395-03-23 at 5 05 00 pm

can anyone help me resolve these issues ? thanks

Koteswar97 commented 7 years ago

For me too same issue can any one help me plz