Created
February 19, 2014 07:16
-
-
Save akisute/9087440 to your computer and use it in GitHub Desktop.
まったく、わけがわからないよ
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// OK | |
//UIImage *image = [UIImage imageNamed:@"bg"]; | |
//UIImage *image = [[UIImage imageNamed:@"bg"] stretchableImageWithLeftCapWidth:0 topCapHeight:11]; | |
//UIImage *image = [[UIImage imageNamed:@"bg"] stretchableImageWithLeftCapWidth:11 topCapHeight:11]; | |
//UIImage *image = [[UIImage imageNamed:@"bg"] resizableImageWithCapInsets:UIEdgeInsetsMake(11.0f, 0, 11.0f, 0)]; | |
//UIImage *image = [[UIImage imageNamed:@"bg"] resizableImageWithCapInsets:UIEdgeInsetsMake(11.0f, 11.0f, 11.0f, 0)]; | |
UIImage *image = [[UIImage imageNamed:@"bg"] resizableImageWithCapInsets:UIEdgeInsetsMake(11.0f, 0, 11.0f, 11.0f)]; | |
// NG | |
//UIImage *image = [[UIImage imageNamed:@"bg"] resizableImageWithCapInsets:UIEdgeInsetsMake(11.0f, 11.0f, 0, 0)]; | |
//UIImage *image = [[UIImage imageNamed:@"bg"] resizableImageWithCapInsets:UIEdgeInsetsMake(11.0f, 11.0f, 11.0f, 11.0f)]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment