Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/mozilla/firefox-ios
Browse files Browse the repository at this point in the history
  • Loading branch information
jhugman committed Mar 18, 2015
2 parents e0ae07c + 6954410 commit e1297e7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 2 additions & 5 deletions Client/Application/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,8 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
UIApplicationUserDidTakeScreenshotNotification,
object: nil,
queue: NSOperationQueue.mainQueue()) { (notification) -> Void in
// Render the entire screen into a snapshot to attach to the email
let mainScreen = UIScreen.mainScreen()
let snapshot = mainScreen.snapshotViewAfterScreenUpdates(true)
UIGraphicsBeginImageContext(mainScreen.bounds.size)
snapshot.layer.renderInContext(UIGraphicsGetCurrentContext())
UIGraphicsBeginImageContext(self.window.bounds.size)
self.window.drawViewHierarchyInRect(self.window.bounds, afterScreenUpdates: true)
let image = UIGraphicsGetImageFromCurrentImageContext()
UIGraphicsEndImageContext()

Expand Down
2 changes: 1 addition & 1 deletion Client/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>3</string>
<string>5</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSLocationWhenInUseUsageDescription</key>
Expand Down

0 comments on commit e1297e7

Please sign in to comment.