registerObjectForStateRestoration static method
void
registerObjectForStateRestoration(
- UIStateRestoring object, {
- required NSString restorationIdentifier,
registerObjectForStateRestoration:restorationIdentifier:
Implementation
static void registerObjectForStateRestoration(
UIStateRestoring object, {
required objc.NSString restorationIdentifier,
}) {
objc.checkOsVersionInternal(
'UIApplication.registerObjectForStateRestoration:restorationIdentifier:',
iOS: (false, (7, 0, 0)),
);
_objc_msgSend_pfv6jd(
_class_UIApplication,
_sel_registerObjectForStateRestoration_restorationIdentifier_,
object.ref.pointer,
restorationIdentifier.ref.pointer,
);
}