错误代码如下 BUILD SUCCESSFUL in 12s 46 actionable tasks: 1 executed, 45 up-to-date Built the following apk(s): /Users/hongye0/Documents/project/haitoujiaApp/platforms/android/app/build/outputs/apk/debug/app-debug.apk ANDROID_HOME=/Users/hongye0/Library/An…
获取手机设备信息,如name.model.version等, 但如果想获取具体的手机型号,如iphone5.5s这种,就需要如下这种(含Swift和OC两种写法) Swift建议添加到extension,使用简单,直接新建个extension,拷贝下面代码进去即可. 以下是最新的类型:一直到iPhone X import Foundation import UIKit public extension UIDevice { var modelName: String { var systemIn…