AddiOSDevice
Method
func (MauiProjectResource) AddiOSDevice( name string, options ...*AddiOSDeviceOptions,) MauiiOSDeviceResourceSignature
method
AddiOSDevice builderAdds an iOS physical device resource to run the MAUI application on an iOS device with a specific name and device UDID.
AddiOSDevice( name string, options ...*AddiOSDeviceOptions,) MauiiOSDeviceResourceParameters
namestringThe name of the iOS device resource.options...*AddiOSDeviceOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*AddiOSDeviceOptions argument.
DeviceId *stringOptional device UDID to target a specific iOS device. If not specified, uses the only attached device (requires exactly one device to be connected).Returns
MauiiOSDeviceResource The resource builder.
Returns a handle; failures surface later via Err().
Applies to
This method applies to the following types: