xzhuan原创稿件,转载请注明出处!
1.复制到粘贴板
C#部分略
IOS部分
extern "C" {
void Past(char* str);
}
-(void) Past:(char*) str
{
NSString* temp = [NSString stringWithUTF8String:str];
UIPasteboard *pasteboard = [UIPasteboard generalPasteboard];
pasteboard.string = temp ;
}
网友评论