3
내 앱에 일일 견적이있는 섹션이 있으며이 견적은 인터넷의 웹 페이지에서 가져옵니다. 나는 Today Extension을 사용하여 견적을 추가하려고 했으므로 거기서 볼 수 있었지만 연장은 계속해서 공백으로 표시됩니다.오늘 확장 UIWebView
나는 오늘 확장이 스토리 보드에 파일 추가하고, 코드에 대한 구현 파일에서 내가 가진 :
그러나#import "TodayViewController.h"
#import <NotificationCenter/NotificationCenter.h>
@interface TodayViewController() <NCWidgetProviding>
@end
@implementation TodayViewController
-(void)viewDidLoad {
[super viewDidLoad];
self.title = @"Today's Scripture";
self.preferredContentSize = CGSizeMake(320, 50);
[reader loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.316apps.com/testingdailyreader.html"]cachePolicy:NSURLRequestReloadIgnoringLocalCacheData timeoutInterval:60.0]];
// timer = [NSTimer scheduledTimerWithTimeInterval:(1.0/2.0) target:self selector:@selector(tick) userInfo:nil repeats:YES];
}
@end
, 내가 얻을 모두에서 '로드 할 수 없습니다'라는 빈 행이다 알림 센터. 내가 도대체 뭘 잘못하고있는 겁니까?
는이 문제에 대한 해결책을 찾았나요? 나는 지금 같은 문제가있다. – cptdanko