iphone

iPhone - Dismiss modal view by a UITabBarController

Hi everyone, I've got into a very strange problem. I created my own UITabBarController to customize it and it works pretty well... except for the modal views. When I dismiss the modal view (present/dismiss from the UITabBarController) with an animation, it waits until the animation did finished and goes to the first controller of the ta...

Is there a way to combine animations with UITableView beginUpdate and endUpdates

I find that UITableView's beginUpdates and endUpdates doesn't play well with your own animations done with UIView (beginAnimation). So suppose you want to animate some row operations (insert delete etc) in addition to your own animation, say spinning an object somewhere in the table. Right now, the UIView animation is basically ignored...

How to access the iPhone Library folder programmatically

I heard in this TUAW Article that iPhone apps should stop using the Documents folder to store files. Instead they should use the library folder. How do you access the Library folder to store files to it? Thanks in advance! ...

iPhone app throwing EXC_BAD_ACCESS with dictionary from contents of file

I have the code NSArray *paths = [[NSArray alloc] initWithArray:NSSearchPathForDirectoriesInDomains(NSLibraryDirectory, NSUserDomainMask, YES)]; NSString *docsDirectory = [[NSString alloc] initWithString:[paths objectAtIndex:0]]; NSLog(@"This app's documents directory: %@",docsDirectory); NSString *docsDirectoryWithPlist = [[NSS...

Textfield being dequeued before textFieldDidEndEditing is called?

I am using a uitableview with a bunch of dynamically created custom cells each with a label and textfield similar to the settings app on the phone. Problem occurs when i have a lot of textfields say 20, the user selects the first textfield, changes its value then scrolls to the end of the table and selects the last textfield to edit. I g...

Download files from server and replace how to ??? iphone

Hi all ! I have plist in my App what i liked to do is to download plist from a folder on my website using http://anadress and then replace the plist in the main bundle by the new one i've download. And i have no idea on how to do this. If someone could help. thanks ...

PocketSphinx, file is not of required architecture in iPhone Device but working in simulator?

Hello all, I'm new to apple development, For my Uni project I try developing an application for iPhone using PocketSphinx to recognise speech commands... I used the "build_for_iphoneos.sh" script available in PocketSphinx SVN and SphinxBase. Program working without any issues when i try it on simulator, today I try to deploy on device ...

uitextview spelling suggestion off?

Hi All, Please help me turning the spelling suggestion in the uitextview when the user inputs some text. can this feature be turned off? ...

Problems with makeObjectsPerformSelector inside and outside a class?

A friend and I are creating a card game for the iPhone, and in these early days of the project, I'm developing a Deck class and a Card class to keep up with the cards. I'm wanting to test the shuffle method of the Deck class, but I am not able to show the values of the cards in the Deck class instance. The Deck class has a NSArray of Car...

How do I rotate only some views when working with a uinavigationcontroller as a tab of a uitabbarcontroller

Here is a flow that I can not figure out how to work. ( when I state (working) it means that in that current state the rules for orientation for that view are working correctly) First View: TableView on the stack of a UINavigationController that is a tab of UITabBarController. TableView is only allowed to be portrait. (working) When yo...

How to use the debugger with nested static libraries in XCode?

Hi all, A project that I've inherited has the following structure: Project A produces a static library. Project B produces a static library and links with library A. Project C produces the executable and links with library B. When I run app in debug mode, I can successfully debug code within the executable (project C) and the static...

Xcode strange warning - Multiple build commands for output file

Hi All, I am getting an error like this, [WARN]Warning: Multiple build commands for output file /Developer/B/Be/build/Release-iphonesimulator/BB.app/no.png [WARN]Warning: Multiple build commands for output file /Developer/B/Be/build/Release-iphonesimulator/BB.app/d.png [WARN]Warning: Multiple build commands for output file /Developer...

speech bubbles like in comics for iphone

I am new to iphone application development. I am building an iphone app where the user needs to be able to add speech bubbles (think comics) over existing images. I have some questions on how to implement this, Have an empty speech bubble image and overlay it over existing image - Do I use a separate UIImage for the speech bubble? Or s...

Launching an Applicatiion from an Iphone browser

Is it possible to doe one of the following? A/ (the preference) Launch an application on the iPhone from either the native browser of the recently released Opera browser? B/ Have a 'addon' or other 'module' for a either of the two iPhone browsers that acts like an application? ...

MPMoviePlayerController fullscreen movie inside a UIWebView

Hi, I'm having a problem with the UIWebView and MPMoviePlayerController: My UIWebView have a movie inside the html (it's a local html file), I'm using html5 and a video tag for the video. The problem is: the user can set the video to play inline, directly on the html or he can tap the fullscreen button, but I need to know if the video is...

Designing a service for consumption on multiple mobile platforms

I am building and designing a (mostly) read-only interface to some data. I'll be uing ASP.NET MVC to build a psudo-restful API. I'm wondering if anyone can provide some resources for building full-client applications for various mobile platforms, iPhone, Android, Blackberry, Windows Mobile, etc. I'm thinking that serving up XML data is ...

Get information from WebPage.

I want to set up an app which can get the information from a particular web page. Then i display the value which got from that page to the iPhone user. Detail:In the webpage on server ,there is the schedule for bus time. If the user input origin and terminus then show the user the time information(list on webpage) in a label. That's all...

how to convert byte value into int in objective-c

Hello, Please tell me how to convert bytes to NSInteger/int in objective-c in iPhone programming? ...

Warning in gdb,while run application in device mode

Warning in gdb, while run application in device mode... The warning message is warning: UUID mismatch detected with the loaded library - on disk is: /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.1.2.sdk/System/Library/PrivateFrameworks/MBX2D.framework/MBX2D =uuid-mismatch-with-loaded-file,file="/Developer/Platfor...

how to run vibrate continuously in iphone?

Hi, In my application I m using following coding pattern to vibrate my iPhone device Header File:- AudioServices.h AudioServicesPlaySystemSound(kSystemSoundID_Vibrate); My problem is that when I run my application it gets vibrate but only for second but I want that it will vibrate continuously until I will stop it. How it could ...