Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed PDFDemo, closes #11

  • Loading branch information...
commit 99b6f4a3fa31330a415cef49993df7f1ab5283a5 1 parent ccb7bef
@Cocoanetics authored
View
2  Demo/PDFDemo/PDFDemo-Info.plist
@@ -24,8 +24,6 @@
<string>1.0</string>
<key>LSRequiresIPhoneOS</key>
<true/>
- <key>UIMainStoryboardFile</key>
- <string>MainStoryboard</string>
<key>UIRequiredDeviceCapabilities</key>
<array>
<string>armv7</string>
View
11 Demo/PDFDemo/Source/AppDelegate.m
@@ -7,14 +7,19 @@
//
#import "AppDelegate.h"
+#import "ViewController.h"
@implementation AppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
-
-
-
+ self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] applicationFrame]];
+
+ ViewController *viewController = [[ViewController alloc] init];
+
+ self.window.rootViewController = viewController;
+
+ [self.window makeKeyAndVisible];
// Override point for customization after application launch.
return YES;
View
2  Demo/PDFDemo/Source/DTPDFImageView.m
@@ -28,8 +28,6 @@ - (id)initWithPDFPage:(DTPDFPage *)PDFPage
_PDFPage = PDFPage;
_imageView = [[UIImageView alloc] initWithFrame:CGRectZero];
- _imageView.layer.borderWidth = 3;
- _imageView.layer.borderColor = [[UIColor blueColor] CGColor];
_imageView.contentMode = UIViewContentModeScaleAspectFit;
[self addSubview:_imageView];
}
View
2  Demo/PDFDemo/Source/DTPDFViewController.m
@@ -45,8 +45,6 @@ - (void)viewWillAppear:(BOOL)animated
[super viewWillAppear:animated];
self.view.alpha = 1;
-
- NSLog(@"appear");
}
@end
Please sign in to comment.
Something went wrong with that request. Please try again.