diff --git a/plugin.xml b/plugin.xml index 27d405f..5c7f87d 100644 --- a/plugin.xml +++ b/plugin.xml @@ -61,6 +61,7 @@ + diff --git a/src/ios/VideoCallingViewController.m b/src/ios/VideoCallingViewController.m index d4541af..a616d8a 100755 --- a/src/ios/VideoCallingViewController.m +++ b/src/ios/VideoCallingViewController.m @@ -42,6 +42,9 @@ static const NSInteger maxRemoteUserNum = 7; @interface VideoCallingViewController () @property (weak, nonatomic) IBOutlet UIButton *backButton; +@property (weak, nonatomic) IBOutlet UIButton *micButton; +@property (weak, nonatomic) IBOutlet UIButton *spakeButton; +@property (weak, nonatomic) IBOutlet UIButton *camareButton; @property (weak, nonatomic) IBOutlet UIButton *subVisibleButton; @property (weak, nonatomic) IBOutlet UIButton *viewRotateButton; @property (strong, nonatomic) IBOutletCollection(UIView) NSArray *remoteViewArr; @@ -133,6 +136,21 @@ static const NSInteger maxRemoteUserNum = 7; - (void)setupDefaultUIConfig { NSLog(@"TRTC - setupDefaultUIConfig:::::"); +// UIFont*font = [UIFont size:24]; + +// NSMutableAttributedString *attributedStr = [[NSMutableAttributedString alloc] initWithString:@"\U0000e679" attributes: @{NSFontAttributeName:font}]; +// [_backButton setFont:(API_DEPRECATED("Specify an attributed title with a custom font", ios(2.0, 3.0)) UIFont *)] +// [_backButton setAttributedTitle:attributedStr forState:UIControlStateNormal]; +// self.backButton.titleLabel.font = ; + [_backButton setTitle:@"\U0000e679" forState:UIControlStateNormal]; + [_micButton setTitle:@"\U0000e67a" forState:UIControlStateNormal]; + [_micButton setTitle:@"\U0000e658" forState:UIControlStateSelected]; + [_spakeButton setTitle:@"\U0000e664" forState:UIControlStateNormal]; + [_spakeButton setTitle:@"\U0000e775" forState:UIControlStateSelected]; + [_camareButton setTitle:@"\U0000e824" forState:UIControlStateNormal]; + [_subVisibleButton setTitle:@"\U0000e695" forState:UIControlStateNormal]; + [_subVisibleButton setTitle:@"\U0000e81a" forState:UIControlStateSelected]; + [_viewRotateButton setTitle:@"\U0000e657" forState:UIControlStateNormal]; _displayLabel.text = @"我"; _displayLabel.hidden = NO; _rotation = 0; diff --git a/src/ios/VideoCallingViewController.xib b/src/ios/VideoCallingViewController.xib index 60fbb93..df42f81 100755 --- a/src/ios/VideoCallingViewController.xib +++ b/src/ios/VideoCallingViewController.xib @@ -7,10 +7,19 @@ + + + iconfont + + + + + + @@ -204,16 +213,16 @@ - - + -