initWithBarAppearance method
Constructs a new bar appearance, copying all relevant properties from the given appearance object. This initializer is useful for migrating configuration between UIBarAppearance subclasses. For example, you can initialize a UINavigationBarAppearance with a UIToolbarAppearance instance, and shared attributes will be identical between the two.
Implementation
UIBarAppearance initWithBarAppearance(UIBarAppearance barAppearance) {
objc.checkOsVersionInternal('UIBarAppearance.initWithBarAppearance:', iOS: (false, (13, 0, 0)));
final $ret = _objc_msgSend_1sotr3r(
object$.ref.retainAndReturnPointer(),
_sel_initWithBarAppearance_,
barAppearance.ref.pointer,
);
return UIBarAppearance.fromPointer($ret, retain: false, release: true);
}