[基本解决]在单独的vc中去presentViewController显示UIAlertController后无法让其消失
crifan 8年前 (2016-06-28) 2243浏览 0评论
之前关于UIAlertController,可以在viewWillAppear中去presentViewController,并在最后去消失了: [已解决]swift中给已有的ViewController中添加UIAlertAction并直接显示和正...
crifan 8年前 (2016-06-28) 2243浏览 0评论
之前关于UIAlertController,可以在viewWillAppear中去presentViewController,并在最后去消失了: [已解决]swift中给已有的ViewController中添加UIAlertAction并直接显示和正...
crifan 8年前 (2016-06-25) 2235浏览 0评论
现在用代码: let imagePickVC = ImagePickerViewController() imagePickVC.modalPresentationStyle = .Custom ...
crifan 8年前 (2016-06-25) 2703浏览 0评论
折腾: [记录]swift中尝试使用Realm数据库去保存数据 期间,用代码: import RealmSwift class RegionItem:NSObject { var id:Int var code:Int ...
crifan 8年前 (2016-06-25) 2165浏览 0评论
之前已经通过Carthage 去安装了Ream的库: github "realm/realm-cocoa" 现在需要去: 搞懂具体如何使用Realm Realm https://realm.io/docs/swift...
crifan 8年前 (2016-06-24) 3004浏览 0评论
网页中是通过: form-data的方式去上传文件的: 此处,是swift代码中, 要去搞懂如何实现这种方式 swift how to form-data upload file swift alamofire form-data upload f...
crifan 8年前 (2016-06-24) 1690浏览 0评论
将: if let cellContentView = textField.superview { gLog.verbose(“cellContentView=\(cellContentVie...
crifan 8年前 (2016-06-23) 2288浏览 0评论
折腾: [已解决]swift获取键盘显示之前的事件 之后,此处虽然可以通过: textFieldDidBeginEditing 在 keyboardWillShow 之前传递view 但是: 之后出现的: keyboardWillShow 被执行了3...
crifan 8年前 (2016-06-23) 1952浏览 0评论
swift choose image lib swift 选择照片 库 swift picture picker lib swift picture picker ios – How to allow user to pick the i...
crifan 8年前 (2016-06-23) 1983浏览 0评论
已有一个页面 里面很多行cell 其中有一些是可以编辑的cell,是Textfield或Textview: 现在的问题是,点击有些行,在页面偏下的位置, 键盘出现后,就遮挡住了: 比如点击 介绍人 而之前自己也已经实现了一个 AutoMoveUp...
crifan 8年前 (2016-06-22) 1726浏览 0评论
//: Playground – noun: a place where people can play import UIKit extension NSDate { //convert time to Int64 t...