从iOS 15(macOS 12,watchOS 8……)开始,我们直接像其他面向对象语言一样,直接在数据上 .formatted 就好。 iOS 15 Date格式化. let now = Date() ...
確定! 回上一頁