Hello,
I have been following Apple's documentation to record audio on the iPhone using the AVAudioSession class. I can set several properties without error ( setActive, setCategory, setPreferredHardwareSampleRate ) but I cannot get Apple's sample code to work for setPreferredIOBufferDuration.
Here's my code:
- (void) initX {
NSErro...
hi i'm designing a view, where i have to post a query to the bank. For that i take the following input .1)Contact Method : Phone, email or Post(1st Picker) .2) Contact time :Morning, Evening,Afternoon(2nd Picker) 3) Message
now when i select the first text field ie Contact Method, a picker view should display with its datasource. and whe...
hi,
i like to add the function playing sounds when either sliding fingers on the surface to my iphone app. the sounds are playing now only when pushing buttons.
i suppose this works with TouchesMoved, but i don't know how to implement the "AVAudioPlayer" code to the touches event code.
please any code sample, thanks!
...
I'm using indexPath.row do determine in which row of my tableview I do something. The title of my cells is containing a number which should be 1 in the first row and 18 in the last row, so I have 18 rows. This works for the first 11 rows, but after that, I have numbers in the title which seem to be generated randomly! Sometimes 16, then ...
Hi,
I am trying to copy the UIImagePickerController as best as I can. If I do that in a regular UITableViewController it shows the StatusBar translucent and you can see the content behind it (just like in apples UIImagePickerController).
self.wantsFullScreenLayout = YES;
self.navigationController.navigationBar.barStyle = UIBarStyleBlac...
Is there a way in the iphone sdk to retrieve the name of the account which bought the application programmatically?
With account name I mean the name you use to login into iTunes.
Edit
To make it more clear, I mean the account name you can find under your iPhone settings under 'Store'.
Edit
Might it be accessible trough NSUserDefault...
I have developed a project that has a single view. Now I want the view to be transparant so that I can see the iPhone menu. Is this possible and if so, how?
Thanks.
...
Hell all ,
I am developing an iPhone app .
Now I want to test it to iPhone that is on a different location .
I am sending the .mobileprovision certificate , the xcode adhoc build and a private key . but at that end the application installation failed in between
.
I have doubt that I have something wrong with my build as I am gettin...
hi,
how can i identify that XML parsing has been finished? any method is there to be called
at the end of parsing all data?
...
After each scroll (however large or small) of a UITableView, I would like to call -indexPathsForVisibleRows to run a method on the data that corresponds to visible cells.
Are there any existing notifications or delegate methods I can tap into when a UITableView is scrolled? I'd like to avoid subclassing.
EDIT
I ended up subscribing t...
Hello all ,
I am developing an iPhone application .
As the application is location aware I am testing it on a different (where I am not present).
For that I am sending my friend a .mobileprovision profile and the application adhoc build.
But At his end the application installation stops in between .
In the device log it gives me t...
my tableview has the following method.i have done everything perfectly...numberOfRowsInSection returns 10.....the following method will not be called....it shows nothing......
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
...
Hi there,
I'm developing an iPhone app that needs a web login.
As usual I call
[[UIApplication sharedApplication] openURL:loginURL];
This close the app and calls the login page inside Safari.
Once logged, the app is opened once again using a callback address and the iPhone URL registration feature.
The question here is:
Since the ap...
Hi there, im trying to programatically do a UITabBarController using a UINavigationController inside each UIViewController called by the tabs... tried everything... read every article... but 100% of the tutorials ive found uses in the UITableViewControllers... here is the app delegate:
//
// mluThunderCamAppDelegate.m
// mluThunderCam...
In my app i have a bunch of data i store in the NSUserdefaults. This information consists of an NSobject (Object1) with NSStrings and NSNumbers and also 2 instances of yet another object (Object2). After alot of searching and trying i got it to correctly save (and load) this data through the use of NScoding and NSKeydArchiver.
Every sc...
I am subclassing a UIButton and detecting finger movements, if the user swipes his finger in a certain way I will pop up an UIAlerView.
All good, except that after dismissing the UIAlertView... when the user next touches the UIButton the button goes to it's highlighted state and gets stuck there, continuously highlighted, even when no f...
I've got an iPhone app with a short intro video. If a user launches the app while their iPod is playing music, the music will stop while the video plays (whether or not the video has sound), and the audio stays permanently stopped after video playback.
Apple seems to indicate that you can solve this with AudioSession tricks:
http://www...
I am developing an iPhone application which works perfectly when doing a build & run, it runs like a charm.
But after I exited the app which ran from the build & run, an I try to start it manually by pressing the app icon on the phone it won't run.
The app shows the Default.png but after that it does nothing and just quits the app. A...
I'm trying to change the sorting in a NSFetchController on the fly, by some sort of segmented control. To either sort A->Z Z->A type thing.
What do I have to do to do this? I'm following Jeff Lamarche's example here: Here
Do I need to make a new NSFetchedResultsController and then set it, or do I just make a new NSFetchRequest and do
...
This is probably a silly question but I have been thinking it over for a while with no obvious answer.
I have a small app that I have been working on and am having a problem with my NSMutableArray instance variable. It was always (null) until I added an [[NSMutableArray alloc]init] to the viewDidLoad.
I am pretty new to the Objective ...