WFCUQuoteViewController.m 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. //
  2. // WFCUQuoteViewController.m
  3. // WFChatUIKit
  4. //
  5. // Created by Tom Lee on 2020/10/4.
  6. // Copyright © 2020 WildFireChat. All rights reserved.
  7. //
  8. #import "WFCUQuoteViewController.h"
  9. #import <WFChatClient/WFCChatClient.h>
  10. @interface WFCUQuoteViewController ()
  11. @end
  12. @implementation WFCUQuoteViewController
  13. - (void)viewDidLoad {
  14. [super viewDidLoad];
  15. WFCCMessage *msg = [[WFCCIMService sharedWFCIMService] getMessageByUid:self.messageUid];
  16. if (!msg) {
  17. //Todo msg not exist, should go back
  18. NSLog(@"msg not exist");
  19. return;
  20. }
  21. self.view.backgroundColor = [UIColor whiteColor];
  22. //Todo display message content
  23. if ([msg.content isKindOfClass:[WFCCVideoMessageContent class]]) {
  24. } else if ([msg.content isKindOfClass:[WFCCSoundMessageContent class]]) {
  25. } else if ([msg.content isKindOfClass:[WFCCStickerMessageContent class]]) {
  26. } else {
  27. }
  28. }
  29. /*
  30. #pragma mark - Navigation
  31. // In a storyboard-based application, you will often want to do a little preparation before navigation
  32. - (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
  33. // Get the new view controller using [segue destinationViewController].
  34. // Pass the selected object to the new view controller.
  35. }
  36. */
  37. @end