Detailed Example
For a complete working example with image picker implementation, see:
ImageReplacementTest.swift - Demonstrates image upload with URL replacement
Common Usage Patterns
Pattern 1: Immediate Server
- User taps image field → SDK creates UploadEvent
- Your onUpload handler receives the event
- You present image picker/camera
- Process selected images (resize, upload to server, etc.)
- Call event.uploadHandler([urls]) with final URLs
- SDK updates the form with the provided URLs