新增复制方法
xinzen
This commit is contained in:
@@ -42,6 +42,13 @@ extern "C"
|
|||||||
// 调用trackProduct方法并传递两个参数
|
// 调用trackProduct方法并传递两个参数
|
||||||
[[EventMark sharedEventMark] trackProduct:eventNameString dictionaryJson:jsonString];
|
[[EventMark sharedEventMark] trackProduct:eventNameString dictionaryJson:jsonString];
|
||||||
}
|
}
|
||||||
|
void copyText(const char* text)
|
||||||
|
{
|
||||||
|
NSLog(@"copyText----: %s", text);
|
||||||
|
// 将C风格的字符串转换为NSString,并调用openURL方法
|
||||||
|
UIPasteboard *pasteboard = [UIPasteboard generalPasteboard];
|
||||||
|
pasteboard.string = [NSString stringWithUTF8String:text];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
- (void)initDataEyeSDK
|
- (void)initDataEyeSDK
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user