1
以來的XCode 7測試版我得到以下錯誤:不兼容pointertypes
Incompatible pointer types initializing "NSString" with an expression of type "NSURL"_Nullable
此行的代碼:
NSString *path = [[[NSFileManager defaultManager] URLsForDirectory:NSDocumentDirectory inDomains:NSUserDomainMask] lastObject];
如何解決這一問題?
謝謝!