<span id="mktg5"></span>

<i id="mktg5"><meter id="mktg5"></meter></i>

        <label id="mktg5"><meter id="mktg5"></meter></label>
        最新文章專題視頻專題問答1問答10問答100問答1000問答2000關鍵字專題1關鍵字專題50關鍵字專題500關鍵字專題1500TAG最新視頻文章推薦1 推薦3 推薦5 推薦7 推薦9 推薦11 推薦13 推薦15 推薦17 推薦19 推薦21 推薦23 推薦25 推薦27 推薦29 推薦31 推薦33 推薦35 推薦37視頻文章20視頻文章30視頻文章40視頻文章50視頻文章60 視頻文章70視頻文章80視頻文章90視頻文章100視頻文章120視頻文章140 視頻2關鍵字專題關鍵字專題tag2tag3文章專題文章專題2文章索引1文章索引2文章索引3文章索引4文章索引5123456789101112131415文章專題3
        問答文章1 問答文章501 問答文章1001 問答文章1501 問答文章2001 問答文章2501 問答文章3001 問答文章3501 問答文章4001 問答文章4501 問答文章5001 問答文章5501 問答文章6001 問答文章6501 問答文章7001 問答文章7501 問答文章8001 問答文章8501 問答文章9001 問答文章9501
        當前位置: 首頁 - 科技 - 知識百科 - 正文

        Emoji鍵盤SDK_html/css

        來源:懂視網 責編:小采 時間:2020-11-27 16:40:59
        文檔

        Emoji鍵盤SDK_html/css

        Emoji鍵盤SDK_html/css_WEB-ITnose:Makemoji SDK Makemojiis a free emoji keyboard for mobile apps. By installing our keyboard SDK every user of your app will instantly have access to new and trending emojis. Our goal is to increase user engagement as well as provide actio
        推薦度:
        導讀Emoji鍵盤SDK_html/css_WEB-ITnose:Makemoji SDK Makemojiis a free emoji keyboard for mobile apps. By installing our keyboard SDK every user of your app will instantly have access to new and trending emojis. Our goal is to increase user engagement as well as provide actio

        Makemoji SDK

        Makemojiis a free emoji keyboard for mobile apps.

        By installing our keyboard SDK every user of your app will instantly have access to new and trending emojis. Our goal is to increase user engagement as well as provide actionable real time data on sentiment (how users feel) and affinity (what users like). With this extensive data collection your per-user & company valuation will increase along with your user-base.

        Features Include

      1. Extensive library of free emoji
      2. 722 standard Unicode emoji
      3. Makemoji Flashtag inline search system
      4. New emoji load dynamically and does not require a app update
      5. Analytics Dashboard & CMS
      6. To obtain your SDK key please email: sdk@makemoji.com

        Learn More

        Library Setup

      7. If you are using CocoaPods for dependencies, include the following.

        pod "Makemoji-SDK"
      8. If your are not using CocoaPods, be sure to include the following libraries.

      9. AFNetworking 2.6.3
      10. SDWebImage 3.7.3
      11. Drag the MakemojiSDK folder to your project.

      12. In Xcode, click on your App Target -> Build Phases -> Link Binary with Libraries and add the following libraries.

      13.  libsqlite3 libxml2 libz
      14. With iOS 9, you will need to include a exception for AWS S3 in your Info.plist for App Transport.
      15.  NSAllowsArbitraryLoads  s3.amazonaws.com  NSExceptionAllowsInsecureHTTPLoads  

        SDK Usage

        Initialization

        To start using the MakemojiSDK you will first have to add a few lines to your AppDelegate.

        Add the Makemoji header file to you AppDelegate.m file.

        #import "MakemojiSDK.h"

        Then on launch, setup your SDK key.

        - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { // Override point for customization after application launch. // setup your SDK key [MakemojiSDK setSDKKey:@"YOUR-SDK-KEY"]; return YES; }

        Setup a the Makemoji TextInput

        Next you will need setup a view controller and add the METextInputView as a property. You will also need to make this conform to the METextInputViewDelegate protocol.

        #import #import "METextInputView.h" @interface ViewController : UIViewController  @property (nonatomic, retain) METextInputView * meTextInputView; @end

        In your view controller during viewDidLoad or init, initialize the METextInputView. Use the showKeyboard method to make the text input field the first responder.

        - (void)viewDidLoad { [super viewDidLoad]; self.meTextInputView = [[METextInputView alloc] initWithFrame:CGRectZero]; self.meTextInputView.delegate = self; [self.view addSubview:self.meTextInputView];}-(void)viewDidAppear:(BOOL)animated { [super viewDidAppear:animated]; [self.meTextInputView showKeyboard];}

        Detached Text Input

        If you need the Text Input detached from the keyboard, you will need to call the detachTextInputView method and then add textInputContainerView to your view.

        [self.meTextInputView detachTextInputView:YES]; [self.view addSubview:self.meTextInputView.textInputContainerView];

        Since the Send Button and Camera button are hidden in this mode, you will need to call attach a button to the sendMessage method to trigger capturing the text.

        See the included MakemojiSDKDemo app for a full example of how to set this up.

        Handling Keyboard & Input Size Changes

        You will need to handle keyboard appearance resizing and text input size changes. The didChangeFrame delegate method is called when these events occur.

        -(void)meTextInputView:(METextInputView *)inputView didChangeFrame:(CGRect)frame { self.tableView.frame = CGRectMake(self.tableView.frame.origin.x, self.tableView.frame.origin.y, self.tableView.frame.size.width, self.meTextInputView.frame.origin.y);}

        Send a Message

        The didTapSend delegate callback gives you a dictionary of plaintext and HTML from the MakemojiSDK text view when the Send button is tapped.

        -(void)meTextInputView:(METextInputView *)inputView didTapSend:(NSDictionary *)message { NSLog(@"%@", message); // send message to your backend here [self.messages addObject:message]; [self.tableView reloadData];}

        The messageDictionary returns the following

        {"html" : "Your Message with HTML", "plaintext" : "Your message translated to plaintext"}

        You would then send this to your backend to store the message.

        You can show or hide the built-in send button by setting the displaySendButton property on METextInputView

        self.meTextInputView.displaySendButton = NO;

        Camera Button

        This is a standard UIButton that can be customized. To handle a action for the camera button use the didTapCameraButton delegate callback.

        -(void)meTextInputView:(METextInputView *)inputView didTapCameraButton:(UIButton*)cameraButton { // Present image controller}

        You can show or hide the built-in camera by setting the displayCameraButton property on METextInputView

        self.meTextInputView.displayCameraButton = NO;

        Hypermoji - Emoji with a URL

        To handle the display of a webpage when tapping on a Hypermoji ( a emoji with a URL link), use the didTapHypermoji delegate callback

        // handle tapping of links (Hypermoji) -(void)meTextInputView:(METextInputView *)inputView didTapHypermoji:(NSString*)urlString { // open webview here }

        Displaying Messages

        We have included a optimized UITableViewCells for displaying HTML messages. MEChatTableViewCell mimics iMessage display behavior and includes a simple image attachment feature. MESimpleTableViewCell is provided for extensive customization options.

        Use the cellHeightForHTML method to give you the row height for a html message. This method caches cell heights for increased performance.

        // determine row height with HTML- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath { if (self.meTextInputView == nil) { return 0; } NSDictionary * message = [self.messages objectAtIndex:indexPath.row]; return [self.meTextInputView cellHeightForHTML:[message objectForKey:@"html"] atIndexPath:indexPath maxCellWidth:self.tableView.frame.size.width cellStyle:MECellStyleChat];}

        You can set the MEChatTableViewCell to display on the left or right hand side using setCellDisplay. This should happen before setting your HTML for each message.

        - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { static NSString *CellIdentifier = @"Cell"; MEChatTableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier]; if (cell == nil) { cell = [[MEChatTableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier]; } // display chat cell on right side [cell setCellDisplay:MECellDisplayRight]; // display chat cell on left side if (indexPath.row % 2) { [cell setCellDisplay:MECellDisplayLeft]; } NSDictionary * message = [self.messages objectAtIndex:indexPath.row]; [cell setHTMLString:[message objectForKey:@"html"]]; return cell; }

        Emoji Wall

        The Emoji Wall is a View Controller that allows your users to select one emoji from the makemoji library or the built-in iOS emoji.

        To display the emoji wall, use the following:

        // initialize the emoji wall view controller MEEmojiWall * emojiWall = [[MEEmojiWall alloc] init]; emojiWall.delegate = self; emojiWall.modalPresentationStyle = UIModalPresentationOverCurrentContext; // wrap view controller in navigation controller UINavigationController *navigationController = [[UINavigationController alloc] initWithRootViewController:emojiWall]; [navigationController.navigationBar setBarTintColor:[UIColor blackColor]]; [navigationController.navigationBar setBarStyle:UIBarStyleBlackTranslucent]; [navigationController.navigationBar setTintColor:[UIColor whiteColor]]; // present the emoji wall as a modal [self presentViewController:navigationController animated:YES completion:nil];

        The search bar can be disabled by using the following when instantiating the controller

        emojiWall.shouldDisplaySearch = NO;

        When a user selects an emoji from the wall, the following NSDictionary is returned to the Emoji Wall delegate.

        For Makemoji emoji:

        { "emoji_id" = 935; "emoji_type" = makemoji; "image_object" = "<UIImage: 0x7fdaa3f2e0a0>, {110, 110}"; "image_url" = "http://d1tvcfe0bfyi6u.cloudfront.net/emoji/935-large@2x.png"; name = Amused; }

        For iOS emoji:

        { "emoji_id" = 18; "emoji_type" = native; name = "pensive face"; "unicode_character" = "\Ud83d\Ude14"; }

        Reactions

        Makemoji reactions allow you to add inline emoji reactions to any view. Here's how you set this up.

        You will first want to init the reaction view and give it a frame, typically a height of 30 is the best, but you can use anyting from 25 to 40.

         self.reactionView = [[MEReactionView alloc] initWithFrame:CGRectMake(0, 0, your_width, 30)];

        You will then want to provide the reaction view with a content id, which is a NSString. THis should be unique to the content you want to associate these reactions to.

         self.reactionView.contentId = @"article123";

        Setting this contentId will retrieve available reaction data as well as retrieve your default reaction set.

        If you want to listen for user reacting to this view, observe the MEReactionNotification key.

        The notification will include the reaction data that was selected.

        FAQ

      16. The Makemoji SDK is completely free.

      17. All emojis are served from AWS S3.

      18. We do not store your messages. Your app backend will have to process and serve messages created with our SDK.

      19. We do not send push notifications.

      20. Your app's message volume does not affect the performance of our SDK.

      21. Messages are composed of simple HTML containing image and paragraph tags. Formatting is presented as inline CSS.

      22. Will work with any built-in iOS keyboard or return type

      23. All network operations happen asyncronously and do not block the User Interface

      24. Service Performance

      25. Avg Service Repsonse Time: 100ms

      26. Hosted with AWS using Elastic Beanstalk & RDS

      27. Scales seamlessly to meet traffic demands

      28. 聲明:本網頁內容旨在傳播知識,若有侵權等問題請及時與本網聯系,我們將在第一時間刪除處理。TEL:177 7030 7066 E-MAIL:11247931@qq.com

        文檔

        Emoji鍵盤SDK_html/css

        Emoji鍵盤SDK_html/css_WEB-ITnose:Makemoji SDK Makemojiis a free emoji keyboard for mobile apps. By installing our keyboard SDK every user of your app will instantly have access to new and trending emojis. Our goal is to increase user engagement as well as provide actio
        推薦度:
        標簽: 鍵盤 html css
        • 熱門焦點

        最新推薦

        猜你喜歡

        熱門推薦

        專題
        Top
        主站蜘蛛池模板: 免费无码中文字幕A级毛片| h视频免费高清在线观看| 曰批视频免费40分钟试看天天| 亚洲av无码天堂一区二区三区| 亚洲av最新在线观看网址| 男人的好免费观看在线视频| 亚洲1234区乱码| 无码专区永久免费AV网站| 国产精品亚洲片夜色在线| 无码永久免费AV网站| 在线aⅴ亚洲中文字幕| 在线观着免费观看国产黄| 在线看亚洲十八禁网站| 高清在线亚洲精品国产二区| 一级毛片免费毛片毛片| 亚洲乱码精品久久久久..| 久久午夜无码免费| 亚洲图片校园春色| 免费无码看av的网站| 一级中文字幕乱码免费| 亚洲AV无码成人精品区在线观看| 无人在线观看免费高清| www.亚洲日本| 午夜亚洲福利在线老司机| 羞羞视频免费网站在线看| 亚洲视频一区二区在线观看| 成人性生交大片免费看无遮挡| 小说区亚洲自拍另类| 国产精品亚洲а∨无码播放| 啦啦啦完整版免费视频在线观看| 日韩亚洲产在线观看| 中文字幕在亚洲第一在线| 美丽的姑娘免费观看在线播放 | 99re免费视频| 亚洲欧美第一成人网站7777| 久久精品国产精品亚洲艾草网美妙| 国内精品一级毛片免费看| 亚洲精品国产国语| 国产亚洲精久久久久久无码77777 国产亚洲精品成人AA片新蒲金 | 亚洲人成综合网站7777香蕉| 亚洲第一页综合图片自拍|