mirror of
https://github.com/wu736139669/RN_AWord.git
synced 2026-08-08 07:17:42 +00:00
添加很多页面
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
//
|
||||
// ASHUtilManager.m
|
||||
// testdemo
|
||||
//
|
||||
// Created by xmfish on 16/2/22.
|
||||
// Copyright © 2016年 Facebook. All rights reserved.
|
||||
//
|
||||
|
||||
#import "ASHUtilManager.h"
|
||||
#import <UIKit/UIKit.h>
|
||||
@implementation ASHUtilManager
|
||||
|
||||
RCT_EXPORT_MODULE();
|
||||
|
||||
//复制文本
|
||||
RCT_EXPORT_METHOD(pasteWithText:(NSString*)text)
|
||||
{
|
||||
UIPasteboard *pasteboard = [UIPasteboard generalPasteboard];
|
||||
pasteboard.string = text;
|
||||
}
|
||||
@end
|
||||
Reference in New Issue
Block a user