平铺文理+拉伸按钮图片

当前位置 : 首页 > 网页制作 > CSS > 平铺文理+拉伸按钮图片

平铺文理+拉伸按钮图片

来源: 作者: 时间:2016-02-17 10:23
[html]UIColor *circleColorPattern = [UIColor colorWithPatternImage: [UIImage imageNamed:@node.png]]; [self.view setBackgroundColor:circleColorPattern]; UIImage *buttonBackgroundImage ...

[]
UIColor *circleColorPattern = [UIColor colorWithPatternImage: 
                                  [UIImage imageNamed:@"node.png"]]; 
   [self.view setBackgroundColor:circleColorPattern]; 
    
    
   UIImage *buttonBackgroundImage = [[UIImage imageNamed:@"btnImage.jpg"] 
                                     resizableImageWithCapInsets:UIEdgeInsetsMake(0,13,0,13)]; 
   [self.m_Btn setBackgroundImage:buttonBackgroundImage 
                     forState:UIControlStateNormal]; 

 UIColor *circleColorPattern = [UIColor colorWithPatternImage:
                                   [UIImage imageNamed:@"node.png"]];
    [self.view setBackgroundColor:circleColorPattern];
   
   
    UIImage *buttonBackgroundImage = [[UIImage imageNamed:@"btnImage.jpg"]
                                      resizableImageWithCapInsets:UIEdgeInsetsMake(0,13,0,13)];
    [self.m_Btn setBackgroundImage:buttonBackgroundImage
                      forState:UIControlStateNormal];

 

Tag:
网友评论

<