swift - UITableViewCell Background stretching -


i have problem in swift uitableviewcell background image. let's shows quite fine 1 iphone5 on iphone 6plus stretch , looks bad. due aspect fill or couldn't manage change , achieve want best if poke sample code providing image how should look, can check out , maybe give me hint or tip or sample code or fixed demo version. here is:

image

note on left side there curve (like half circle) around right side of icon. on bigger phones or tablet, curve gets super stretch destroying look.

demo code link

thanks in advance help. pretty stuck one.

you can stretch image while preserving aspect ratio of portion of image using slicing. xcode offers graphical interface doing this. idea decide parts of image allowed stretch , aren't.

https://developer.apple.com/library/ios/recipes/xcode_help-image_catalog-1.0/chapters/slicinganimage.html


Comments

Popular posts from this blog

1111. appearing after print sequence - php -

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

Ruby on Rails, ActiveRecord, Postgres, UTF-8 and ASCII-8BIT encodings -