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