如何使用C#将数据文本存储到Windows应用商店的字符串或数组中? 我试过这种方法,但它不起作用:
string[] phparay ={@"F:\Designe- Video\projects\Phpgonehelp\Phpgonehelp\PHPCODE\Php1.txt"};
我认为这会执行文本文件中的任何数据,但不幸的是它只是打印文本路径。
答案 0 :(得分:0)
我认为你要找的是:
[[NSOperationQueue mainQueue] addOperationWithBlock:^{
alert = [[UIAlertView alloc]initWithTitle:@""
message:[NSString stringWithFormat: @"Reload data ?"]
delegate:self
cancelButtonTitle:@"Yes"
otherButtonTitles:@"Cancel", nil];
[alert show];
NSLog(@"executed");
}];