ios - 我有一个代码,我需要在每个图像之间添加垂直和水平线
问题描述
self.searchBR.returnKeyType = UIReturnKeyType.default
self.title = (UserDefaults.standard.value(forKey: "selctedCity") as! String)
mainCollectionImgArray = ["headset.png","achievement.png","car.png",
"configuration-gear.png","Cleaning.png",
"portfolio.png","vaccine.png","book.png","Sports.png","Food.png","Events.png","Arts&Entertainment.png","Health&Beauty.png","Clothes&Accessories.png","Baby.png","Toys.png","Electronics.png","RealEstate.png","Furniture.png","Travel.png","Pets.png","Manufactures.png","Used&Rentals.png"]
self.loadCategoryData()
self.loadSubcategoriesData()
self.loadSuperSubCategories()
self.mainCollectionView.reloadData()
topCollectionView.reloadData()
}
override func didReceiveMemoryWarning() {
super.didReceiveMemoryWarning()
// Dispose of any resources that can be recreated.
}
@IBAction func locationButtonTapped(_ sender: Any) {
let LocationViewController = self.storyboard?.instantiateViewController(withIdentifier: "ViewController")
self.navigationController?.pushViewController(LocationViewController!, animated: true)
}
我想在图像之间添加垂直和水平线,请有人帮助我
解决方案
推荐阅读
- c# - 当我尝试让它向上/向下悬浮时,我的模型不会保持不变
- matlab - 筛选算法的 RMSE
- python - 管理多个 Python 安装
- ns-3 - 如何在 ns3 中的位置上修复节点位置
- elasticsearch - 为什么会抱怨“批量声明模板只能增加存储请求”?
- swiftui - SwiftUI:没有在 DropDelegate 中删除 NSString 值
- smali - 伙计们,当我编辑一个 smali 文件时,我更改了启动应用程序时要在弹出窗口中显示的文本,但文本不显示,但弹出窗口仍然出现
- ssis - 我的ssis包被sql代理运行慢,你有遇到过这个问题吗?
- atom-editor - 显示当前函数原型或其手册页的 Atom 包
- curl - 从groovy运行curl时的输出被发送到错误而不是stdout(进程)?