iphone

Moving a 'UITabBarController with UINavigationController' iPhone app to 'UITabBarController with UISplitView' on iPad

I have an app where the appDelegate has a UITabBarController. Each of the tabs has a navigation controller which I currently use to push a single detail view onto the stack in each tab. I am hoping to replace my navigation controller on each of the tabs with a splitViewController. I use the Interface builder to provide the UINavigatio...

Database-based or update-based system for up-to-date iphone app?

Hi, I will develop an iPhone app. To make an example without exactly telling what I want to do: Lets think we have a app with jokes. Every user can vote the joke up or down and can send in her own joke. If the joke is approved by an admin, it should be add to the application. Now my question, what is the best idea to realize this? Sho...

I am trying to add segments to a segmented controller using a for loop and failing

I am trying to add segments to a segmented controller that is drawn in the .xib with five segments. When I try to compile this loop, I get the following error: "Expected ';' before animated." What am I doing wrong? I know that this is a bonehead level question, but I cannot see the answer for the life of me right now.... TIA! Steve O'...

Iphone reload tableview after a purchase has finished gives odd error. " error: expected ':' before '.' token"

Guys I'm using the code below. Xcode refuses to compile the last line. I get: "error: expected ':' before '.' token" on the last line. Can't figure out what is wrong... - (void) failedTransaction: (SKPaymentTransaction *)transaction { if (transaction.error.code != SKErrorPaymentCancelled) { // Optional...

NSDictionary functionality question

Hello All, So I am trying to save arrays into an NSDictionary on the fly. Let me show you the code and explain what is going on. for (int x= 0; x <[appDelegate.people count]; x++) { Person *aPerson = [[Person alloc] init]; aPerson = [appDelegate.people objectAtIndex:x]; if ([appDelegate.groupedBusiness objectForKey:aPerson...

iPhone SDK Simple Question

Is it possible to add a UIActivityIndicatorView to the left side of a UITableViewCell? We're already using the right side of a UITableViewCell for a disclosure indicator. Thanks. ...

iPhone: How much memory usage is too much?

This is a pretty weird question I guess, but I've never really had to deal with memory allocation before so now I'm really paranoid about using too much of it or forgetting to deallocate stuff. I've found the extremely useful memory leak tool (and am quite proud to see that, so far at least, I'm not losing anything that way) and also the...

html video code

Hello all, I am writing video code in an iphone, based on HTML. With the following code the movie will play but when I click done the video stops but the html page is gone, all I see is a giant video play button taking up the entire screen. Anyone have any ideas how to go back to the page where the video was clicked? a href="videos.m...

problem when I release my object

Hi I have a class whit a nsmutable array instance variable, In my code, I alloc and init my object, and later in my program I release my object, but it cause a "bad access" when I try to release it, why? If i retain my object before release it works, but I don't have other object who point on this object, so I don't need a retain. Alex ...

update iphone app "CodeResources file must be a symoblic link"

hi i tried to update an iphone app, which lies in an other "itunes connect" profile. i used "application loader" and everything is fine until i try to upload the zip file i get this strange message and cant figure out whats going wrong "The CodeResources file must be a symbolic link to _CodeSignature/CodeResources" i opened the bundle...

Where should I store data/state information as I switch ViewControllers?

Hi, I am just starting to develop on the iPhone and was wondering about storing data that the user is entering into my application. Question: My application is organized as: UITabController LoginViewController (UIViewController) UINavigationController CustomViewController1 (UIViewController) CustomViewController2 (UIViewControlle...

Uploading test iPhone/iPod application from iTunes ?

Hi, is there a way to upload application to registered development device from Windows PC with iTunes ? My boss want to see current beta version on one development iPod touch, but he uses Windows 7 and iTunes ... no OS X, no XCode. Is it possible ? 10x! ...

<input type="submit"> padding bug on Safari mobile?

(This is similar to the (also unanswered) question #3430506, but applies to input tags instead of HTML5 elements.) On <input type="submit"> buttons, the iPhone/mobile Safari browser adds padding to the left and right. This doesn't happen on the desktop version, nor any other mobile/desktop Webkit browsers I've tried. It appears to add ...

Recording Audio from Mic in iPhone SDK 4.0?

I would just like to know how to record audio from the iPhone's mic using the iPhone SDK. I tried using AQRecorder with SpeakHere but I can't get it to work. I would like to be able to record audio onto a file and then show play the audio back when the user requests it. Is there any easy way to do this? I just started iPhone development ...

iPhone - Memory Management - Am I creating and releasing this variable correctly?

Ok heres the situation. I have a View controller class that serves as the main view(MainView). It contains a subview that another view controller takes care of(ChangingView). Now, every four seconds, ChangingView needs to change its view. What I am currently doing goes something like this. ChangingView = [[AnotherView alloc] initWithN...

What's the fastest way to transfer data between iPhone & computer (Mac or PC)?

I want to continuously transfer bulk of data between an iPhone app and a desktop app. (e.g. to capture the full screen, and show it on iPhone screen at real-time). What's the best way to do that? Currently I implemented a communication via TCP socket. But I can't sure if it's the best in both bandwidth / latency concern. Especially the ...

SenTestCase in Xcode 3.2 and XCBuildLogCommandInvocationSection Errors

I have a set of SenTestCase that are causing issues in XCode 3.2.4. When attempting to compile (with a very basic STFail(@"");) the following compiler errors occur: An internal error occurred when handling command output: - [XCBuildLogCommandInvocationSectionRecorder endMarker]: unrecognized selector sent to instance An inte...

UITabBarController embedded in a UINavigationController.

Hi, The main flow of my project is controlled by a UINavigationController. I need to embed a UITabBarController in one of the screens to provide 3 views. Can anyone guide me on how to do this? Let me explain my flow a bit, so that the necessity of this becomes clear. In a typical usecase - The user logs in Picks a few filters and cli...

Porting to Windows Phone 7 from iPhone

If you were going to attempt this, what would be the main factors to consider, easy/hard parts, pitfalls? ...

MKPlaceMark on MKMapKit

Hi, Can I customize the pin MKPlaceMark? Thanks for Help ...