Assertion failed報錯
導(dǎo)入podAlipaySDK-iOS編譯拋出異常
報錯:Assertion failed: (false && "compact unwind compressed function offset doesn't fit in 24 bits")
可在Build Settings 中的Other Linker Flags 種添加"-ld64",即可解決。
Sandbox:rsync.sanba deny(1) file-write-create xxx
使用 Xcode15 新建項目后,pod 引入部分第三方會報上面的錯誤
解決辦法:Build Settings 搜索 sandbox,把 Build Options 中的 User Script Sandboxing改為 NO
13.4之后時間控件改變,
UIDatePicker
@property (nonatomic, readwrite, assign) UIDatePickerStyle preferredDatePickerStyle API_AVAILABLE(ios(13.4)) API_UNAVAILABLE(tvos, watchos);
滾輪模式可延續(xù)之前
UIDatePickerStyle
typedef NS_ENUM(NSInteger, UIDatePickerStyle) {
UIDatePickerStyleAutomatic, // 自動選擇下面三種模式中一種
UIDatePickerStyleWheels, // 滾輪模式
UIDatePickerStyleCompact, // 袖珍模式
UIDatePickerStyleInline, // 內(nèi)聯(lián)模式
}