presentLimited static method

Future<void> presentLimited({
  1. RequestType type = RequestType.all,
})

Prompts the limited assets selection modal on iOS.

This method only supports from iOS 14.0, and will behave differently on iOS 14 and 15:

  • iOS 14: Immediately complete the future call since there is no complete handler with the API on iOS 14.
  • iOS 15: The Future will be completed after the modal was dismissed.

See the documents from Apple:

Implementation

static Future<void> presentLimited({
  RequestType type = RequestType.all,
}) =>
    plugin.presentLimited(type);