mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-28 16:49:20 +00:00
simple ui with clickable thumbnails
This commit is contained in:
parent
ce9cc56c68
commit
77bbd1d07d
3 changed files with 4778 additions and 10 deletions
File diff suppressed because it is too large
Load diff
|
|
@ -8,5 +8,10 @@
|
|||
#import <UIKit/UIKit.h>
|
||||
|
||||
@interface TodayViewController : UIViewController
|
||||
@property (strong, nonatomic) IBOutletCollection(UIStackView) NSArray *stackViews;
|
||||
|
||||
- (IBAction)firstButtonTapped;
|
||||
- (IBAction)secondButtonTapped;
|
||||
- (IBAction)thirdButtonTapped;
|
||||
- (IBAction)fourthButtonTapped;
|
||||
@end
|
||||
|
|
|
|||
|
|
@ -34,4 +34,24 @@
|
|||
completionHandler(NCUpdateResultNewData);
|
||||
}
|
||||
|
||||
- (void)launchAppWithURL:(NSURL *) url {
|
||||
[self.extensionContext openURL:url
|
||||
completionHandler:nil];
|
||||
}
|
||||
|
||||
- (IBAction)firstButtonTapped {
|
||||
[self launchAppWithURL:[NSURL URLWithString:@"sip://"]];
|
||||
}
|
||||
|
||||
- (IBAction)secondButtonTapped {
|
||||
[self launchAppWithURL:[NSURL URLWithString:@"sip://"]];
|
||||
}
|
||||
|
||||
- (IBAction)thirdButtonTapped {
|
||||
[self launchAppWithURL:[NSURL URLWithString:@"sip://"]];
|
||||
}
|
||||
|
||||
- (IBAction)fourthButtonTapped {
|
||||
[self launchAppWithURL:[NSURL URLWithString:@"sip://"]];
|
||||
}
|
||||
@end
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue