Interface UIItemProviderPresentationSizeProviding

  • All Known Implementing Classes:
    UIImage

    public interface UIItemProviderPresentationSizeProviding
    • Method Detail

      • preferredPresentationSizeForItemProvider

        CGSize preferredPresentationSizeForItemProvider()
        Implement this on an object which conforms to the NSItemProviderWriting protocol. When the object is registered to NSItemProvider, this property will be used to automatically set the `preferredPresentationSize` property on NSItemProvider. Return CGSizeZero to indicate that this information is not available.