Permalink
Browse files

Made last commit iOS 3.x compatible (thx @ theFm)

  • Loading branch information...
1 parent d0c5db4 commit 70cf2682025ffa044b3ad5fdaa06360d4d9fe037 Ortwin Gentz committed Dec 9, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 InAppSettingsKit/Controllers/IASKAppSettingsWebViewController.m
View
2 InAppSettingsKit/Controllers/IASKAppSettingsWebViewController.m
@@ -28,7 +28,7 @@ - (id)initWithFile:(NSString*)urlString key:(NSString*)key {
self.url = [NSURL URLWithString:urlString];
if (!self.url || ![self.url scheme]) {
- self.url = [[NSBundle mainBundle] URLForResource:[urlString stringByDeletingPathExtension] withExtension:[urlString pathExtension]];
+ self.url = [NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:[urlString stringByDeletingPathExtension] ofType:[urlString pathExtension]]];
}
return self;
}

0 comments on commit 70cf268

Please sign in to comment.