如何在目标c中将我的应用程序转换为imessage扩展应用程序?

时间:2019-06-04 21:16:21

标签: objective-c uicollectionview imessage-extension

我对IOS应用程序开发和目标C尚不陌生。我刚刚构建了一个简单的集合视图应用程序,其中显示了一些来自URL的图像。现在,我要使我的应用程序成为iMessage扩展应用程序。我该如何进行转换?

我已经将iMessage扩展添加到我的项目中,并且不知道从这里开始做什么。这是iMessage扩展程序的默认模板,该如何显示我的应用程序功能?

#import "MessagesViewController.h"
#import "CollectionViewController.h"
@interface MessagesViewController ()

@end

@implementation MessagesViewController

- (void)viewDidLoad {
    [super viewDidLoad];


}
#pragma mark - Conversation Handling

-(void)didBecomeActiveWithConversation:(MSConversation *)conversation {
    // Called when the extension is about to move from the inactive to active state.
    // This will happen when the extension is about to present UI.

    // Use this method to configure the extension and restore previously stored state.
}

....

0 个答案:

没有答案