//活動圖片
//創建一個Lable
UILabel *activitylcon = [[UILabel alloc] initWithFrame:CGRectMake(10, 100, 80, 99)];
//添加背景爲圖案樣式
activitylcon.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"tupian3.jpg"]];
//添加到視圖上
[self.view addSubview:activitylcon];