摘要:
其他的步骤就像授权登陆一样,key、分享平台、白名单 头文件需要导入: #import <ShareSDK/ShareSDK.h> #import <ShareSDK/ShareSDK+Base.h> #import <ShareSDKExtension/SSEShareHelper.h> #imp 阅读全文
摘要:
Everybody life just like hourglass , inside the sand total about the same, the different is that,some hourglass top is fine,some hourglass is rough。 t 阅读全文
摘要:
import <Foundation/Foundation.h> #import "AFNetworking.h" typedef void(^RequestSuccessCallback)(id responseObject);// 成功时候回调 typedef void(^RequestFail 阅读全文
摘要:
#import <Foundation/Foundation.h> @interface YSHTTPHelper : NSObject /** * 创建一个单例类 */ + (YSHTTPHelper *)defaultHTTPHelper; @end #import "YSHTTPHelper. 阅读全文
摘要:
第一步注册获取AppKey,就是所谓的唯一标识 注册的步骤:官网注册应用得到appkey,请点击链接看里面的操作步骤。 第二步下载SDK: 获取ShareSDK-iOS v3.x:下载地址 第三步集成SDK 在Build Phases中的Link Binary With Libraries中添加对应 阅读全文
摘要:
- (NSString *)fullStr// 在UITextView中的需要发送的文字文字 { NSMutableString *fullText = [[NSMutableString alloc] init]; [self.attributedText enumerateAttributesI 阅读全文
摘要:
第一步:外界需要传表情按钮点击时候的数据过来 - (void)publishTextViewWith:(YSWeiBoEmotion *)emotion { if (emotion.code) { [self insertText:emotion.code.emoji];// 把emoji表情的16 阅读全文
摘要:
@interface YSWeiBoExpressionView ()<UIScrollViewDelegate>/** 表情scrollecView */@property (nonatomic, weak) UIScrollView *expressionScrollView;/** pageC 阅读全文
摘要:
这里获取到所用数据之后,然后再算每一页因该有多少个emojin,然后把每一页有多少个的,然后赋值到数组中,然后进行排版 #pragma mark - Datas- (void)setExpressionDatas:(NSArray *)expressionDatas{ _expressionData 阅读全文
摘要:
if (self.textView.inputView == nil) { // 切换为自定义的表情键盘 HWEmotionKeyboard *emotionKeyboard = [[HWEmotionKeyboard alloc] init];// 自定义的键盘 emotionKeyboard.w 阅读全文