Book Image

iOS Forensics Cookbook

By : Bhanu Birani, Mayank Birani
Book Image

iOS Forensics Cookbook

By: Bhanu Birani, Mayank Birani

Overview of this book

Mobile device forensics is a branch of digital forensics that involves the recovery of evidence or data in a digital format from a device without affecting its integrity. With the growing popularity of iOS-based Apple devices, iOS forensics has developed immense importance. To cater to the need, this book deals with tasks such as the encryption and decryption of files, various ways to integrate techniques withsocial media, and ways to grab the user events and actions on the iOS app. Using practical examples, we’ll start with the analysis keychain and raw disk decryption, social media integration, and getting accustomed to analytics tools. You’ll also learn how to distribute the iOS apps without releasing them to Apple’s App Store. Moving on, the book covers test flights and hockey app integration, the crash reporting system, recovery tools, and their features. By the end of the book, using the aforementioned techniques, you will be able to successfully analyze iOS-based devices forensically.
Table of Contents (13 chapters)

Integration with Instagram


Now, we'll use Social.framework to integrate Instagram into our application.

Getting ready

For Instagram integration, we will continue with the preceding project. Open the project and redesign the storyboard. Add another button after Facebook, Twitter, and LinkedIn. Drag one more view controller from the inspector element and drop it onto the canvas. Design the new view according to the following screenshot. Drag two buttons from the interface builder and name them Login and Logout respectively.

How to do it...

  1. Add a new file class in our project and name it InstagramLoginViewController. Make this class the owner of the newly created view controller. Then, link the button to this class as the action method

  2. Now, we have to register our app to the Instagram Developers site as we did in previous integrations. Go to http://instagram.com/developer/register/ and register your app.

  3. After a successful registration, Instagram will give you a client ID; save it somewhere, as we...