Setting custom accessoryView make a margin to contentView from right side

645 Views Asked by At

When I have set accessoryView I get a margin from right side contentView in 15px (or 20px if scale equal 3). I tried remove this gap, but without result. Somebody have a idea what is it? how remove this or reliably calculate size of gap?

enter image description here

On screenshot: 1) custom accessoryView zero size 2) default accessoryType

0

There are 0 best solutions below