将aspx文件转换为图像的问题

时间:2015-05-11 15:44:00

标签: wkhtmltoimage tuespechkin

我一直在使用TuesPechkin从我的应用程序中创建一些HTML代码的图像。

我在使用HTML时已成功使用以下代码,但如果我尝试加载ASPX文件,则代码无效。

NSString *string1 = @"stringABC";
NSString *string2 = @"STRINGDEF";
NSComparisonResult result = [string1 caseInsensitiveCompare:string2];

if (result == NSOrderedAscending) {
  NSLog(@"string1 comes before string2");
} else if (result == NSOrderedSame) {
  NSLog(@"We're comparing the same string");
} else if (result == NSOrderedDescending) {
   NSLog(@"string2 comes before string1");
}

我甚至试图将HTML读取为字符串并加载,但它无效。

我正在使用TuesPechkin版本2.1.1。

0 个答案:

没有答案