Added screens in sample app for notification

Summary:
Added a basic communication flows and a button to trigger notification
{F142016937}

Reviewed By: jknoxville

Differential Revision: D10492428

fbshipit-source-id: b65fc46b3be695852f9197771a253d9e8596f328
This commit is contained in:
Pritesh Nandgaonkar
2018-10-23 09:11:11 -07:00
committed by Facebook Github Bot
parent 74c1a24b86
commit 12d2af38f7
8 changed files with 276 additions and 20 deletions

View File

@@ -11,6 +11,7 @@
#import "NetworkViewController.h"
#import "RootViewController.h"
#import "UserDefaultsViewController.h"
#import "CommunicationDemoViewController.h"
@interface MainViewController ()
@@ -43,4 +44,10 @@
[self.navigationController pushViewController:userDefaultsViewController animated:true];
}
- (IBAction)tappedCommunicationDemo:(UIButton *)sender {
UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"MainStoryBoard" bundle:nil];
CommunicationDemoViewController *communicationDemoViewController = [storyboard instantiateViewControllerWithIdentifier:@"CommunicationDemoViewController"];
[self.navigationController pushViewController:communicationDemoViewController animated:true];
}
@end