skip to main
|
skip to sidebar
..:::Trio Hasim:::..
Stretching an UIImage while preserving the corners
original image
result
myImageView.image = [myImageView.image resizableImageWithCapInsets:UIEdgeInsetsMake(
20.f, 12.f, 19.f, 19.f
)];
For lower iOS version, use
[UIImage stretchableImageWithLeftCapWidth:15 topCapHeight:13];
Newer Post
Older Post
Home
Trio Hasim Family
KucingItem
KucingLorenk
Blog Archive
Mar
(1)
Feb
(2)
Jan
(1)
Dec
(3)
Nov
(1)
May
(1)
Apr
(1)
Jan
(5)
Dec
(4)
Nov
(1)
Oct
(1)
Sep
(2)
Aug
(1)
Jul
(4)
Apr
(3)
Mar
(5)
Feb
(2)
Jan
(3)
Dec
(2)
Oct
(1)
Sep
(2)
Aug
(4)
Jul
(7)
Jun
(9)
May
(7)
Apr
(5)
Mar
(7)
Feb
(2)
Jan
(1)
Dec
(7)
Nov
(2)
Sep
(4)
Aug
(2)
Jul
(4)
Jun
(2)
May
(2)
Apr
(6)
Mar
(3)
Feb
(1)
Jan
(14)
Dec
(2)
Nov
(4)
Oct
(3)
Sep
(1)
Aug
(3)
Jul
(3)
Jun
(1)
May
(4)
Apr
(48)
Nov
(1)