iOS 错误记录
amberoot_源狼乐
It isn't the burdens today that drive me mad,it is the regrets over yesterday and the fear of tomorrow.
展开
-
Xcode error: unable to dequeue a cell with identifier cell
Xcode error: unable to dequeue a cell with identifier cell - must register a nib or a class for the identifier or connect a prototype cell in a storyboard用纯代码写tableview出现以上错误,错误是以下代码触发的。原创 2017-08-11 13:46:58 · 463 阅读 · 0 评论 -
iOS swift 自定义tableView不显示cell
1. 添加了3个tableViewCell进tableView,初始状态没有任何显示,点击第二或第三个tableViewCell能显示出内容,点击第一个却不能,左划均出现删除按钮。三个tableViewCell点击均有点击事件原创 2017-08-14 11:07:51 · 2267 阅读 · 0 评论 -
iOS之错误-linker command failed with exit code 1-解决
Build Settings => Enable Bitcode => No原创 2018-07-19 11:45:10 · 1840 阅读 · 0 评论 -
iOS之解决第三方库不支持某种(armv7/armv7s/arm64)指令集问题-Apple Mach-O Linker Error
TARGETS --> Build Settings --> Architectures 如果有第三方库不支持某种版本指令集,例如arm7,可以把Build Active Architecture Only设置为No,Valid Architectures设置为"armv7s arm64"。Valid Architectures — 设置的支持arm指令集版本有:...原创 2018-07-21 11:28:08 · 4389 阅读 · 0 评论 -
iOS swift3.0之解决(UITableView)表格添加拖动手势冲突造成表格不能滑动问题
一、引用 UIGestureRecognizerDelegateclass ViewController: UIViewController ,UIGestureRecognizerDelegate{二、添加拖动手势到tableviewfunc initGesture() { //初始化手势并指定触发事件 let panGesture = UI...原创 2018-08-07 11:54:10 · 1554 阅读 · 0 评论 -
Domain=DDXMLErrorDomain Code=1 "(null)"
//构造XML文档let doc = try DDXMLDocument(data: xmlData!, options:0)在使用第三方库KissXML解析数据的时候出现错误:Domain=DDXMLErrorDomain Code=1 "(null)"同样的数据,有时能解析成功,有时却解析失败,出现这样的错误。解决方法:把Kissxml里的DDXMLDocume...转载 2019-05-25 11:19:57 · 631 阅读 · 0 评论