iphone

How to restore sounds after YouTube playing ?

After playing youtube video from the webview -- all app music and sounds disappears. I tried to restore audio by AudioSessionInitialize() and AudioSessionSetActive() -- but it's not helps. Only one way I found to restore sounds and music -- completely re-initialize sound system including OpenAL re-initialization and reloading all sounds ...

about ADHOC build -getting error when i install it to my device

signer is not valid.. i noticed while i am setting up settings for build i didnt see release option in my project info->configaurations, we have to duplicate releases option and place distribution here can any one send me solution for this... ...

Background process to alert the user in iphone?

hi, I am developing a iphone uiwebview based application to load an web application url by getting the user credential from a login screen,as i have username and password which are required to communicate with the server on the other end with web services,i want to make an alert with some data to the user once after he logged into appl...

dismissing the NumberPad keyboard from a UIScrollView

hi friends. I have an application with UIScrollView added as a subview of UIView. This Scroll view has a textfield with keyboard type set to numberPad. Now the problem is , i want to dismiss the keyboard when i tap anywhere else in the scroll view. how can i do this ... ? ...

getting Program received signal:  “SIGABRT” in iphone sdk.

HI guy's, Can anyone please solve my problem, I am getting exception as: malloc: *** error for object 0x754cab0: double free *** set a breakpoint in malloc_error_break to debug Program received signal:  “SIGABRT”. I dont know why it was generated only in Iphone sdk 4.0(device and simulator), but it was not generated in Iphone sdk...

how do I play fullscreen landscape movie on iOS4 in a portrait application?

Hi The problem is the following: I have an application in which all viewcontrollers are portrait only 9typical tabbar/navigation app), but I would like to play a move in fullscreen landscape mode. This seems impossible in iOS4 ... The best I could come up with was to add the mpmoviecontroller view to my parent view and rotate it by ha...

changing provisioning profile after replacing rejected binary??

so my first official application got rejected as it was crashing on ios 4.0 for which my application was not even made for( i didnt even check the option for ios4 tested ).Now after resolving the bug i need to upload my application to the store.Should i create a new APP ID and a new distribution profile or just a new distribution provisi...

How to avoid user selecting some date in UIDatePicker?

I have to prompt users for choosing a date from a CoCoa UIDatePicker but avoiding him to select sundays ans saturdays, since my goal is to make them select a date for an appointment The best way should be disabling that dates, in the same way of minimumDate property, but I was not able to find how to do that ...

How to query Metadata from a WebDAV server

I am trying to create an iPhone App that will talk to a WebDAV Server. I have no idea on this, any help, tips pointers will be appreciated. Specifically in reference to : 1. How to upload a file to the WebDAV Server 2. How to download a file from the WebDAV server 3. How to retrieve / Add MetaData on the WebDAV server 4. How to enumerat...

actions buttons not being displayed when adding contact

I have TabBar iPhone application that has a UINavigationController that contains a ViewController that has a ABUnknownPersonViewController.view as a subview. When I click on "Create New Contact" or "Add to existing contact", I can see the button items in the animation coming up the screen, but they seem to get hidden beneath the naviga...

Sound File Manipulation on Iphone

I am building an Iphone App and one of the tasks I need to accomplish is to provide the user the ability to add some sound effects including Echo effect, background music on the sounds being recorded through the app. Here is a similar type of App, Although this one maniuplate the sound files in Real Time. I don't really need to do this...

how to save nssarray object into string

hi all i want to save nssarray object into string. code is for (NSMutableDictionary *dictionary in blogEntries) { NSArray *titlearray = [dictionary objectForKey:@"title"]; // know i want to store the object in titlearray into string how shoud i nsstring *STemp=? how should i write NSRange titleResultsRange=[sTemp rang...

Disabling the NavBar Edit Button

I have a UITableView. On my navbar I have an edit button. I want to be able to enable and disable it depending on certain conditions. For instance, when the user deletes the last of a certain type of row I want to gray out the Edit button as there are no more of these rows to delete. What I do at the moment is check in - (void)tableVi...

Can we modify the font of a Label created by IB from source code ?

Friends, I am a beginner and trying to know iphone programming basics. If I create a Label from Interface Builder and Name it as "Sample", can I change the font of this Label name from source code. Is it possible. I have no clue how to do it. Can anyone help me in doing this. Thanks In Advance, Anil ...

iOS4: Can't Programmatically Scroll to Bottom of UITextView

Before I was using this method.... //TextView is a UITextView [TextView scrollRangeToVisible:NSMakeRange([TextView length], 0)]; ...which would programmatically scroll to the end of the UITextView but it doesn't seem to be working in iOS 4.0. Is there a way to programmatically scroll to the end of a UITextView without changing edit...

how to update MKPolyline / MKPolylineView?

I am trying to create a polyline (MKPolyline) overlay that updates periodically, to simulate the movement of an object. I can achieve this by removing the old overlay, updating the polyline and adding the overlay again, but this leads to flickering. For a point annotation (MKPointAnnotation) you can simply change its coordinate, and the...

Help with declaration error in xcode

Hey guys, I'm pretty new to developing on the iPhone platform, and developing in general just as a heads up so please correct me if i screw anything up. So heres the problem: I'm trying to declare a property, I'm pretty sure the code is 100% correct yet xcode is declaring "No declaration of property 'window' found in the interface" and "...

tab bar with navigation controller on each tab item - orientation problems

Hi. i have one tab bar controller with 4 navigation controller connection 4 tab bar items. I made the following changes in the following controllers - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { return YES; } All view controllers. All navigation controllers. 1 tabbar controller. ...

uiwebview to uiview

Hi, When i click a link in the uiwebview is that possible to load a uiview ? Is there a way to transfer control from uiwebview to uiview. ...

UIImageView animation with stop on final frame

I'm using UIImageView's animationImages to show some frames over a second. I want to show the animation then have it rest on the final frame. In OS 3.1.3, this worked fine for that: [self setAnimationRepeatCount:1]; [self setAnimationDuration:1]; [self startAnimating]; // auto set the last image in the frame [self setImage:[UIImage imag...