- 博客(3)
- 资源 (12)
- 收藏
- 关注
原创 Mac Terminal(终端)命令不能用
最近一次在用终端敲命令的时候发现命令总是不执行(只有cd命令可以正常执行),返回命令未识别的错误-bash: source: command not found。相信很多朋友也会遇到类似的问题。解决步骤: 1.命令行输入: export PATH=/usr/bin:/usr/sbin:/bin:/sbin:/usr/X11R6/bin 这样可以保证命令行命令暂时能够使用。这行命令执行
2017-03-29 23:35:51 17624 3
原创 iOS截屏、保存图片到相册
创建一个UIImage分类:#import <UIKit/UIKit.h>@interface UIImage (SnipImage)/** 缩放并保存图片到相册 @param imagePath 图片地址 */+ (void)scaleAndSaveImage:(NSString *)imagePath;/** 截屏并保存 */+ (void)snipAndSaveImage;@end
2017-03-15 09:21:42 1222
原创 warning: failed to set breakpoint site at 0x1005ed32c for breakpoint 28.1: error sending the breakpo
xcode8控制台输出warning: failed to set breakpoint site at 0x1005ed32c for breakpoint 28.1: error sending the breakpoint request 解决方案
2017-03-13 16:02:17 8981
deviceSupport_12.0(16A5288q)
2018-06-05
deviceSupport_11.3(15E5178d)
2018-06-05
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人