Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

FileProvider iOS xcode16.3 b2

Rolf Bjarne Kvinge edited this pageMar 13, 2025 ·2 revisions

#FileProvider.frameworkhttps://github.com/dotnet/macios/pull/22388

diff -ruN /Applications/Xcode_16.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderDefines.h /Applications/Xcode_16.3.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderDefines.h--- /Applications/Xcode_16.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderDefines.h2025-02-08 04:42:26+++ /Applications/Xcode_16.3.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderDefines.h2025-02-25 05:44:30@@ -46,3 +46,4 @@ #define FILEPROVIDER_API_AVAILABILITY_DESKTOP API_AVAILABLE(macos(15.0)) API_UNAVAILABLE(watchos, tvos) API_UNAVAILABLE(ios, macCatalyst)  #define FILEPROVIDER_API_AVAILABILITY_V8_0_IOS API_AVAILABLE(macos(15.0), ios(18.0)) API_UNAVAILABLE(watchos, tvos) API_UNAVAILABLE(macCatalyst)+#define FILEPROVIDER_API_AVAILABILITY_FEEDBACK API_AVAILABLE(macos(15.4)) API_UNAVAILABLE(watchos, tvos) API_UNAVAILABLE(ios, macCatalyst)diff -ruN /Applications/Xcode_16.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderManager.h /Applications/Xcode_16.3.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderManager.h--- /Applications/Xcode_16.3.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderManager.h2025-02-07 21:45:30+++ /Applications/Xcode_16.3.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderManager.h2025-02-25 05:45:17@@ -632,4 +632,38 @@                           error:(NSError *_Nullable *_Nullable)error NS_REFINED_FOR_SWIFT FILEPROVIDER_API_AVAILABILITY_EXTERNAL_VOLUME; @end+@interface NSFileProviderManager (Diagnostics)++/**+ Request diagnostics collection for the item.++ This will prompt the user about an issue with the sync in the provider and ask their permission+ to collection diagnostic information and to send them to Apple for further analysis.++ This call is to be used wisely with care given there's global throttling on it preventing+ spamming the users. Furthermore it should be used in collaboration with Apple when you+ detect a misbehavior in the sync in your provider likely caused by a system bug and you need to+ work with Apple in order to resolve it.++ This will return whether the call was allowed or not - not if it suceed+ This method will only return an error if the user was not on a Seed build++ It is mandatory to provide an error for the item why the collection is requested.+ The error won't be shown to the user (a generic message will be shown instead)+ It will surface in the generated report though++ It is important to note that even if the call is allowed, it might not trigger diagnostic collection+ nor prompt to the user depending on the system state and other throttling parameters++ If the call is allowed, the system will return an UUID that allows to uniqly identify the+ diagnostics attempt. The UUID not being nil doesn't guarantee the collection happened+ */+- (void)requestDiagnosticCollectionForItemWithIdentifier:(NSFileProviderItemIdentifier)itemIdentifier+                                             errorReason:(NSError *)errorReason+                                       completionHandler:(void (^)(NSError * _Nullable error))completionHandler+                                    NS_SWIFT_NAME(requestDiagnosticCollection(for:errorReason:completionHandler:))+                                    FILEPROVIDER_API_AVAILABILITY_FEEDBACK;++@end+ NS_ASSUME_NONNULL_END

Clone this wiki locally


[8]ページ先頭

©2009-2025 Movatter.jp