05 2019 档案
摘要:当应用被后台Kill掉的时候希望从后台返回的时候显示进入后台之前的内容 在Appdelegate中设置 为每个ViewController设置:restorationIdentifier(可以直接在sb中设置),restorationClass 如果设置了restorationClas则必须遵守UI
阅读全文
摘要:加载图片的两个方法: [UIImage imageNamed:] [[UIImage alloc] initWithContentsOfFile: imgpath] [[UIImage alloc] initWithContentsOfFile: imgpath] [UIImage imageNam
阅读全文