updateResultCount method
- @SupportedPlatforms.new(platforms: [IOSPlatform(apiName: 'UIFindInteraction.updateResultCount', apiUrl: 'https://developer.apple.com/documentation/uikit/uifindinteraction/3975835-updateresultcount?changes=_2', note: 'Available only if [InAppWebViewSettings.isFindInteractionEnabled] is `true`.')])
Updates the results the interface displays for the active search.
Officially Supported Platforms/Implementations:
- iOS WKWebView (Official API - UIFindInteraction.updateResultCount):
- Available only if InAppWebViewSettings.isFindInteractionEnabled is
true.
- Available only if InAppWebViewSettings.isFindInteractionEnabled is
Use the PlatformFindInteractionController.isMethodSupported method to check if this method is supported at runtime.
Implementation
@SupportedPlatforms(
platforms: [
IOSPlatform(
apiName: 'UIFindInteraction.updateResultCount',
apiUrl:
'https://developer.apple.com/documentation/uikit/uifindinteraction/3975835-updateresultcount?changes=_2',
note:
'Available only if [InAppWebViewSettings.isFindInteractionEnabled] is `true`.',
),
],
)
Future<void> updateResultCount() {
throw UnimplementedError(
'updateResultCount is not implemented on the current platform',
);
}