Archives For iphone

Fixing iPhone Lag

November 20, 2015 — Leave a comment

The iPhone can get sluggish and laggy after a while. iOS doesn’t have a button to you can tap to shutdown all apps and free the RAM.

But there’s a quick trick to force your iPhone to free up it’s RAM without a new app to download.

 

  1. Hold the Sleep  / Wake button until you get the “slide to power off” screen.
  2. Release the the Sleep Wake Button.
  3. Now hold the Home button until it goes back to the home screen.

Once the iOS home screen is displayed, the iPhone’s RAM flush should be completed.

What You Need

  • Jailbroken iPhone
  • Cydia

Step by Step Guide

  1. Go to Cydia and search for the app “Poof.”
  2. Download and run the “Poof” app.
  3. Poof App download from Cydia

    Poof App download from Cydia

  4. You will be taken to an ON and OFF screen, just turn off the ones you do not want to see.  RESTART YOUR PHONE, and they are all gone.
  5. Poof on and off screen

    Poof on and off screen

    Poof on and off screen

I have been playing with Xcode and Interface Builder by doing assignments from the iPhone App Development Course from Stanford.

I had an error on one of the assignments and eventually figured it out, here’s the step by step instructions with snapshots.

error

The error: "loaded the XXX nib but the view outlet was not set."

  • Open the .xib file that is causing the problem in Interface Builder.
  • Check that the File’s Owner class is the correct ViewController.
viewcontroller
  • In the inspector window (right sidebar) click on the tab with the blue circle and arrow in it.
  • You will see a table with Outlets. Click on the circle of VIEW and drag it to the VIEW icon.
Changing the view controller

Afterwords it should be set to view VIEW

  • Save everything in Interface Builder, and you should be good.