读书人

平铺文理+拉伸旋钮图片

发布时间: 2013-04-02 12:35:26 作者: rapoo

平铺文理+拉伸按钮图片

 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];

读书人网 >移动开发

热点推荐