Apple lists (http://developer.apple.com/samplecode/AudioQueueTest/listing1.html) as a quick demonstration of playing an audio file.
Is there a way to play an audio file with many less lines of code?
...
i know there was many dice application in the store but i just want to know how to start to create a application ,when shake the phone the 3D model will roll,thanks if can give any pointer on how to start
...
Hi to all
I am developing one game where I want to move UIImageView based on accelerometer. When I rotate iphone device left to right or right to left the UIImageView have to rotate in particular angle. It's moving also but the problem occurs when I play background sound because of that sound, it sends some acceleration point even if m...
When I look inside the Info.plist file in Xcode, the Property List Editor shows me an value that looks like an variable:
${PRODUCT_NAME}
How / where can I set up localized names for my app?
...
hello, I want to insert an image in sqlite3, i have created table using "create table table1(photo blob,name varchar(10));" Now i want to insert an image in to it,so what is syntax for insert image into it? and in another table i want to store location of the image so for second table what is my create table and insert table syntax. Can ...
Disclaimer: I am an Xcode / iPhone SDK Noob.
I am trying to establish a client-side TCP/IP connection to an existing server. Upon connection, I expect to receive some data about the server (version, etc.).
When my connection is made, the NSStreamEventOpenCompleted event fires, so I know the connection is made. Next the NSStreamEventHas...
Using the information here: iPhone Landscape-Only Utility-Template Application I am able to launch, use and maintain my view as landscape only. However, I am confused about the axis.
The absolute axis behaves as expected, meaning (0,0) is the top left, (240,0) is the top center, (0,320) is the bottom left corner, etc. However, when I ...
I'm trying to use the SQLite C API in my iPhone app. I'm trying to query an SQLite database for the number of records that have been completed after a certain date. The database saves the completed date as text in YYYY-MM-dd format. For example the text 2009-04-10 might appear as a completed date.
When I query the database from the comm...
I have a bunch of sound clips, named sound1.mp3 through soundN.mp3. I want to randomly play them on touch, so I've set up an AVAudioPlayer for each clip which are all stored in players (AVAudioPlayer**). After I initialize everything, the only sound I can get to play is sound1.mp3. What am I doing wrong?
Thanks for the help, init cod...
Wondering which tool is considered the best/standard and what the pros/cons are for the various unit testing tools that are available. The tools I'm aware of so far are:
Google Toolbox for Mac
OCUnit which seems to be the winner for objective-c, but some folks have had trouble with on the iphone
rbiphonetest which Dr Nic comments on he...
XCode Newbie Alert!
I am reading data from a TCP/IP stream and am successfully receiving a byte array from the pre-existing server. I am now trying to find a way to convert that array to an NSString. I have found several examples, but am having a hard time getting my desired results.
case NSStreamEventHasBytesAvailable:
{
NSDat...
Hi, is it possible to remove a cell from UITableView directly, with animation? Without changing datasource and then reloading table data?
Thanks.
...
I can't seem to get my app to compile when using JSON-framework http://code.google.com/p/json-framework/ with iPhone SDK 3.0.
My app compiles fine for the simulator, but when I go to compile for my device I get a 'codesign error' code 1. I've followed all of the installation instructions correctly, and when I remove the 'Additional SDK'...
Hi all,
I'm trying to get some more info on a question I posed on another thread
Basically, I am using this method to pass parameters to a php script which returns values from a server:
NSString *urlstr = [[NSString alloc] initWithFormat:@"http://www.yourserver.com/yourphp.php?param=%d", paramVal];
NSURL *url = [[NSURL alloc] initWithS...
Does anyone know how it is done?
They seem to be enabling japanese language settings.. But how?
It's impossible to search for it, because of all the outrage over Emoji apps in the app store.
Thanks a bunch!
...
Hi. This is the blurb accompanying the Audio Services function AudioServicesSetProperty. Its a bit over my head. Can someone give me an example of how to actually use this. Thanks.
AudioServicesSetProperty Sets the
value for a specified System Sound
Services property.
OSStatus AudioServicesSetProperty (
AudioServicesProper...
In my program labels didnt detect touches while i testig on simulator. but it works fine on device. why does this happens?. i want to capture the video of my application when working on simulator.
...
Hi,
I am planning to write an iPhone app which can display streaming audio/video from the internet (backend would most probably be Red5 or Wowza and video will be streamed on RTMP (although I have the option to change that). Any ideas on implementation?
http://www.youtube.com/watch?v=5-UoLsSSw30 demos something similar to what I have i...
I am wondering if the App Store provides an API that allows others to access the data like descriptions, prices, reviews, etc.?
...
I'm having a problem pushing a UITableViewController onto a NavigationController. With the following code:
ProblemEditController *problemEditController = [[[ProblemEditController alloc] initWithNibName:@"ProblemEditController" bundle:nil] retain];
problemEditController.problem = [[Problem alloc] init];
[self.navigationController pushVie...