- string.uppercaseString,转换成大写
- NSLog(@"%@",NSStringFromCGRect(self.view.frame));// NSStringFromCGRect,将CGRect转成字符串
犯了一个严重的错误: //1.2 删除拓展名
NSString *imgName = [self stringByDeletingPathExtension];我写成了NSString *imgName = [self stringByDeletingLastPathComponent];// 结果是返回一个空的字符串 (an empty string)
- 打印CGRect
NSLog(@"%@", NSStringFromCGRect(mySerachview.frame));