If you already have an app with a Web View, you may want to add some kind of notification to the user that a website is being loaded, otherwise Apple will probably reject it. If you don’t have an app with a web view, I suggest you complete THIS tutorial before continuing. Read More…
I was recently asked how to rate a purchased iPhone app and it’s a bit of a process so I thought I would list the steps here.
- Open the App Store app on your iPhone.
- Tap the Updates button on the tab bar at the bottom of the screen.
- Tap the “Purchased” row at the top of the table.
- Scroll down to find the app you want to rate. For example Solitaire Poker.
- Scroll down and tap the Ratings button. It might be labeled “No Ratings” or “155 Ratings” or something similar.
- Finally, tap “Write a Review”
If you’re going to create an app that plays audio, one great feature to have is the ability for the user to be able to listen to the audio through the headset of the device (when they put it to their head) rather than the speaker at the bottom. Doing so is fairly simple. I recommend reading iOS How To – Playing Audio before continuing. Read More…
If you have audio that you would like the user to manually control with a button, this is the quick How To for you. The end result will allow you to play and stop audio with the same button. In future posts, I will show how to reroute that played audio from speaker to headset using the proximity sensor and bluetooth headset. Read More…
When we created our games Memory Gizmo Words, Memory Gizmo Math and Solitaire Poker, we needed to layout the game board into a grid of rows and columns. It was fairly simple and we’ll tell you how we did it. Read More…
ARC (Automatic Reference Counting) is great addition to Xcode 4. It saves you time and aggravation of releasing objects from memory. However, there may be several libraries out there that have not been converted to ARC that you would like to inclue in your project. Rather than going through each file an converting it yourself, there is a way to exclude those file from ARC. Read More…
iOS5 came with several shortcuts to parse JSON without the need of third-party libraries. It’s called NSJsonSerialization, and here’s how it works.
Let’s say you’ve received JSON data (we’ll call it responseData) from a url and you would like to convert the JSON to an NSDictionary (dictJSON). Just put in the following code: Read More…
This morning I was working on an iOS app that required saving various files to the device. I wanted to track these files while running the iPhone Simulator to make sure my code was handling the files as it was supposed to. To do this I could dig through the folder structure in Terminal or output a bunch of NSLogs with the data I wanted, but the easiest method would be to open Finder and watch the directory as changes were made. Since I know this will come up again in the future, I decided to make an AppleScript that will help me Quickly navigate to the iPhone Simulator path. Below are the steps I used to create the script. Read More…
When working with Core Data or SQLite, you never know if what your saving to your database is actually saving. Well if you’re testing with iPhone Simulator you can. Run your test that is supposed to be saving data then do the following:
Read More…
Have you ever wanted to know when your app entered the background or came back into the foreground? But you don’t want to have to hassle with trying to run methods in your current view from the App Delegate? I can ease your pain. Add the following code to the viewDidLoad method of the class you like to handle these events: Read More…