| Flutter iOS Embedder |

Instance Methods | List of all members
FlutterPluginAppLifeCycleDelegate(TestUtils) Category Reference

## Instance Methods
(void) | - removeDelegate:

## Detailed Description

Definition at line 17 of file FlutterPluginAppLifeCycleDelegateTest.mm.

## Method Documentation

## ◆ removeDelegate:

- (void) removeDelegate: |  | (NSObject<FlutterApplicationLifeCycleDelegate>*) | delegate |

Definition at line 14 of file FlutterPluginAppLifeCycleDelegateTest.mm.

22 :(NSObject<FlutterApplicationLifeCycleDelegate>*)delegate {
23 // Access the private _delegates member via Key-Value Coding (KVC)
24 NSPointerArray* delegates = [self valueForKey:@"_delegates"];
25 for (NSUInteger i = 0; i < delegates.count; i++) {
26 if ([delegates pointerAtIndex:i] == (__bridge void*)delegate) {
27 [delegates removePointerAtIndex:i];
28 break;
29 }
30 }
31 }

The documentation for this category was generated from the following file:

- shell/platform/darwin/ios/framework/Source/FlutterPluginAppLifeCycleDelegateTest.mm