NSString *backgroudpath = [[NSBundle mainBundle] pathForResource:@"top_bg" ofType:@"png"]; UIImage *backgroudImage = [UIImage imageWithContentsOfFile:backgroudpath]; titleView.image = backgroudImage;[panelImageView setImage:[[UIImage imageNamed:@"bg.png"] stretchableImageWithLeftCapWidth:18 topCapHeight:18]];
填充背景的方法
最新推荐文章于 2022-01-13 14:41:31 发布