摘要: import UIKit class ViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() } override func motionBegan(_ motion: UIEvent.EventSubtype, with ev... 阅读全文
posted @ 2019-01-18 11:45 懂事长qingzZ 阅读(295) 评论(0) 推荐(0)
摘要: import UIKit //1.加速器框架 import CoreMotion class ViewController: UIViewController { //1.创建运动管理者 必须设置为 全局的 let manager = CMMotionManager() override func viewDidLoad() { sup... 阅读全文
posted @ 2019-01-18 10:56 懂事长qingzZ 阅读(199) 评论(0) 推荐(0)
摘要: 网络 Alamofire:http网络请求事件处理的框架。 Moya:这是一个基于Alamofire的更高层网络请求封装抽象层。 Reachability.swift:用来检查应用当前的网络连接状况。 综合 Perfect:swift的服务器端开发框架(针对于移动后端开发、网站和web应用程序开发) 阅读全文
posted @ 2019-01-18 10:35 懂事长qingzZ 阅读(1045) 评论(0) 推荐(1)
摘要: 这个是由于XXX..xcodeproj包中xcuserdata文件夹中user.xcuserdatad文件夹名字的问题...user.xcuserdatad文件夹的名字,不是当前用户的名字,就会显示no scheme. 解决办法:手动更改(或者删除)后,重启xcode就可以。如果仍然显示为no sc 阅读全文
posted @ 2019-01-18 10:11 懂事长qingzZ 阅读(610) 评论(0) 推荐(0)