This is covered in most decent introductions to iPhone programming. I'd suggest you step away from the real coding and take the time to learn the fundamentals of iPhone programming. Perhaps some background is in order: it would help us if you could answer the question I asked in the P.P.S. of this post in your other thread.