WFCUQuoteViewController.m 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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. #import "SDPhotoBrowser.h"
  11. @interface WFCUQuoteViewController ()
  12. @end
  13. @implementation WFCUQuoteViewController
  14. - (void)viewDidLoad {
  15. [super viewDidLoad];
  16. WFCCMessage *msg = [[WFCCIMService sharedWFCIMService] getMessageByUid:self.messageUid];
  17. if (!msg) {
  18. //Todo msg not exist, should go back
  19. NSLog(@"msg not exist");
  20. return;
  21. }
  22. self.view.backgroundColor = [UIColor whiteColor];
  23. //Todo display message content
  24. if ([msg.content isKindOfClass:[WFCCVideoMessageContent class]]) {
  25. } else if ([msg.content isKindOfClass:[WFCCSoundMessageContent class]]) {
  26. } else if ([msg.content isKindOfClass:[WFCCStickerMessageContent class]]) {
  27. } else {
  28. }
  29. }
  30. /*
  31. #pragma mark - Navigation
  32. // In a storyboard-based application, you will often want to do a little preparation before navigation
  33. - (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
  34. // Get the new view controller using [segue destinationViewController].
  35. // Pass the selected object to the new view controller.
  36. }
  37. */
  38. @end