Category Archives : iPhone

MP3 streaming for apple iphone with php readfile file_get_contents fail

For the actual content, see:   But I must jot the solution down, as I spent a great deal of time struggling with setting headers and calling readfile($filename) with php to make ipod/iphone/ipad play/stream mp3, to no avail. On a related note, I had to do header(“location: <url to mp3>”) as a workaround for […]

Black screen on iphone

If you get black screen when you run your iphone code, check if you do this: @synthesize window = _window; and then this: [window makeKeyandVisible]; This, will not work. The @synthesize line is “new” in xcode 4, per objective c. it makes accessing windows directly FAIL and return nil. Thus, makeKeyAndVisible was never called on […]

Some things you need to do to create archive of iPhone app to submit to apple app store

1. iphone icon, ipad icon size 2. plist file’s icon file is blank (seems like can’t have file called icon.png otherwise both iPad and iPhone will use that) 3. Does not see archive in organizer after building archive: For the “Release” configuration do the following: Set “Skip Install” to YES on your project Set “Skip […]