uiimage相关问题(图片拉伸)
UIImage *backgroundImage= [UIImage imageNamed:@"bg_headimage"]; //图片拉伸 UIImage *newImage=[backgroundImage resizableImageWithCapInsets:UIEdgeInsetsMake(10, 10, 10, 10) resizingMode:UIImageResizingModeStretch]; UIImageView *backGroundImageView=[[UIImageView alloc]initWithImage:newImage]; backGroundImageView.frame=CGRectMake(0, 0,backgroundImage.size.width/2.0, backgroundImage.size.height/2.0+40); [contentScrollView addSubview:backGroundImageView];
1.这里只记录一些学习笔记
2.这里只记录一些学习心得,如果心得方向有错,请留言
2.这里只记录一些日记(只为提升英语,暂时有点忙,等转行了开始写)