我试图从Google日历中嵌入日历仅供公众查看。我没有任何错误,但每当我运行我的应用程序时都没有任何错误。如果要求日历不会加载,我做错了什么?
NSString *iframe = @"<iframe src=\"https://www.google.com/calendar/embed?showTitle=0&showPrint=0&showTabs=0&showCalendars=0&showTz=0&height=360&wkst=1&hl=en&bgcolor=%23@c0000&src=chipbeck4670%40gmail.com&color=%232952A3&ctz=America%2FNew_York\" style=\" border-width:0 \" width=\"320\" height=\"360\" frameborder=\"0\" scrolling=\"no\"></iframe>";
HTML = [NSString stringWithFormat:@"<HTML><BODY>%@</BODY></HTML>", iframe];
[cal loadHTMLString:HTML baseURL:nil];
谢谢!