Add example showing full-screen iOS/Android view from Flutter (#10386)
This commit is contained in:
15
examples/platform_view/ios/Runner/PlatformViewController.h
Normal file
15
examples/platform_view/ios/Runner/PlatformViewController.h
Normal file
@@ -0,0 +1,15 @@
|
||||
// Copyright 2017, the Flutter project authors. Please see the AUTHORS file
|
||||
// for details. All rights reserved. Use of this source code is governed by a
|
||||
// BSD-style license that can be found in the LICENSE file.
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
@protocol PlatformViewControllerDelegate <NSObject>
|
||||
- (void)didUpdateCounter:(int)counter;
|
||||
@end
|
||||
|
||||
|
||||
@interface PlatformViewController : UIViewController
|
||||
@property (strong, nonatomic) id<PlatformViewControllerDelegate> delegate;
|
||||
@property int counter;
|
||||
@end
|
||||
Reference in New Issue
Block a user