.NET MAUI › Native Interop & Libraries
How do you call native iOS (Objective-C/Swift) libraries from MAUI?
IntermediateAnswer
Use a .NET for iOS binding library with ApiDefinition and Structs files describing the native framework, then reference it from Platforms/iOS. Objective-C binds directly; Swift usually needs an Objective-C-compatible interface. Objective Sharpie can generate a starting binding.
var analytics = new Vendor.Analytics();
analytics.TrackEvent("purchase");Real-world example An iOS-only analytics framework is bound with Objective Sharpie and invoked from iOS platform code.