知识库
加载一张图片
UIImageView *imageView =[[UIImageView alloc]initWithFrame:CGRectMake(100, 100, 200, 200)];
imageView.image=[UIImage imageNamed:@"22.png"];
[self.view addSubview:imageView];
弹出窗口
NSString *msg = @”f*au*ck U”;
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@”message” message:msg delegate:self cancelButtonTitle:@”No” otherButtonTitles:@”Yes”, nil]; [alert show];
集成一个弹窗方法
NSString *a = [NSString stringWithFormat:@"group s %d",index];
[self alert:a];
字符串数字转换
1,字符串拼接
NSString *newString = [NSString stringWithFormat:@"%@%@",tempA,tempB];
2,字符转int
int intString = [newString intValue];
3,int转字符
NSString *stringInt = [NSString stringWithFormat:@"%d",intString];
解决中文乱码问题,POST也可以用,textfield也可以用的。
[NSString stringWithCString:[str UTF8String] encoding:NSUTF8StringEncoding];
韩剧再婚皇后阿里云盘全集高清1080P资源链接-韩剧再婚皇后免费阿里云盘资源下载4K高清无删减版链接
poipiku网站如何打开-poipiku官网网页版访问入口
明日方舟:终末地-云游戏畅玩入口-明日方舟:终末地-网页版在线直连地址
poki在线小游戏网页版-poki免费游戏大全入口
poki游戏入口-点开即玩-poki游戏-在线免费畅玩
原神akt大佬资源viciNeko入口链接-原神akt大佬资源网页vicineko入口链接分享