摘要:
[plain] view plain copy [plain] view plain copy 解决方法就是 在xcode,进入菜单product-scheme-edit scheme 添加环境变量 OS_ACTIVITY_MODE 为 disable 即可,如下图 阅读全文
摘要:
button.titleLabel.lineBreakMode = NSLineBreakByWordWrapping; button.titleLabel.textAlignment = NSTextAlignmentCenter; [button setTitle: @"Line1\nLine2 阅读全文
摘要:
sudo gem sources -r https://rubygems.org/ # 添加源(使用淘宝的镜像,记住要用https) sudo gem sources -a http://gems.ruby-china.org # 查看是否使用的是淘宝镜像 gem sources -l # 安装 s 阅读全文