[已解决]swift中UICollectionViewCell在reloadData()之后显示内容出现重叠现象
crifan 9年前 (2015-12-25) 5700浏览 0评论
折腾: [已解决]swift编辑和删除UICollectionViewCell 之后,加了: else if selectedContactItem.id == removePersonId { self.is...
crifan 9年前 (2015-12-25) 5700浏览 0评论
折腾: [已解决]swift编辑和删除UICollectionViewCell 之后,加了: else if selectedContactItem.id == removePersonId { self.is...
crifan 9年前 (2015-12-25) 4278浏览 0评论
原先已经画好了: 现在需要去实现: 点击➖减号,每个cell右上角加上一个删除的小按钮图标。 swift uicollectionviewcell edit swift uicollectionviewcell delete ios –...
crifan 9年前 (2015-12-24) 4578浏览 0评论
想要关闭当前页面视图,返回父一级的视图: 试了很多个: self.dismissViewControllerAnimated 和: self.navigationController?.popViewControllerAnimated ...
crifan 9年前 (2015-12-24) 2300浏览 0评论
去试了试: // self.addContactButton.setTitle("添加手机联系人", forState: UIControlState.Normal) // self.addCon...
crifan 9年前 (2015-12-23) 3471浏览 0评论
想要实现这种效果: 即: 给输入框的坐标添加图片 搜: swift UITextField icon Swift add image or icon in UITextField – Stack Overflow ios –...
crifan 9年前 (2015-12-22) 1892浏览 0评论
试了几种,都不可以: for sectionIdx in [0…self.fileSectionList.count] { let curFileSectionItem:Fil...
crifan 9年前 (2015-12-22) 2452浏览 0评论
代码: let actionsAlertController = UIAlertController(title: nil, message: nil, preferredStyle: UIAler...
crifan 9年前 (2015-12-22) 2971浏览 0评论
需要实现类似于这种: swift popup action list xcode – Swift alert view (iOS8) with OK and cancel button, which button tapped R...
crifan 9年前 (2015-12-21) 2119浏览 0评论
折腾: [已解决]swift中计算当前长按的坐标是属于自定义的UITableViewCell中哪个子视图的 中,frame不正常,width和height都是0 所以,打算好好去研究自动布局,以便解决布局问题 使得width和height是正常的 并...
crifan 9年前 (2015-12-21) 2257浏览 0评论
折腾: [已解决]swift中自定义的UITableViewCell中无法获取长按UILongPressGestureRecognizer 现在问题转化为: 一直point坐标,判断属于哪个view内 swift check point within...