mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-24 22:58:13 +00:00
37 lines
929 B
Objective-C
37 lines
929 B
Objective-C
//
|
|
// TodayViewController.m
|
|
// latestCallsWidget
|
|
//
|
|
// Created by David Idmansour on 06/06/2018.
|
|
//
|
|
|
|
#import "TodayViewController.h"
|
|
#import <NotificationCenter/NotificationCenter.h>
|
|
|
|
@interface TodayViewController () <NCWidgetProviding>
|
|
|
|
@end
|
|
|
|
@implementation TodayViewController
|
|
|
|
- (void)viewDidLoad {
|
|
[super viewDidLoad];
|
|
// Do any additional setup after loading the view from its nib.
|
|
}
|
|
|
|
- (void)didReceiveMemoryWarning {
|
|
[super didReceiveMemoryWarning];
|
|
// Dispose of any resources that can be recreated.
|
|
}
|
|
|
|
- (void)widgetPerformUpdateWithCompletionHandler:(void (^)(NCUpdateResult))completionHandler {
|
|
// Perform any setup necessary in order to update the view.
|
|
|
|
// If an error is encountered, use NCUpdateResultFailed
|
|
// If there's no update required, use NCUpdateResultNoData
|
|
// If there's an update, use NCUpdateResultNewData
|
|
|
|
completionHandler(NCUpdateResultNewData);
|
|
}
|
|
|
|
@end
|