mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 11:08:06 +00:00
add code for testing crashlytics
This commit is contained in:
parent
8b54fb0f6c
commit
6b39af2b00
1 changed files with 12 additions and 0 deletions
|
|
@ -41,6 +41,14 @@
|
|||
LinphoneProxyConfig *cfg = linphone_core_get_default_proxy_config(LC);
|
||||
_addGroupChatButton.hidden = !(cfg && linphone_proxy_config_get_conference_factory_uri(cfg));
|
||||
[_toggleSelectionButton setImage:[UIImage imageNamed:@"select_all_default.png"] forState:UIControlStateSelected];
|
||||
|
||||
// For testing crashlytics
|
||||
/*UIButton* button = [UIButton buttonWithType:UIButtonTypeRoundedRect];
|
||||
button.frame = CGRectMake(20, 50, 100, 30);
|
||||
[button setTitle:@"Crash" forState:UIControlStateNormal];
|
||||
[button addTarget:self action:@selector(crashButtonTapped:)
|
||||
forControlEvents:UIControlEventTouchUpInside];
|
||||
[self.view addSubview:button];*/
|
||||
}
|
||||
|
||||
- (void)viewWillDisappear:(BOOL)animated {
|
||||
|
|
@ -134,4 +142,8 @@ static UICompositeViewDescription *compositeDescription = nil;
|
|||
}];
|
||||
}
|
||||
|
||||
- (IBAction)crashButtonTapped:(id)sender {
|
||||
assert(NO);
|
||||
}
|
||||
|
||||
@end
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue