iphone

XCode don't simbolicates my application log lines , only the frameworks related ones

Hello.. I'll been reading that Xcode simbolicates the crash logs.. it only simbolicates the lines that are related to a framework class. example: 6 myapp 0x0003e796 0x1000 + 251798 7 myApp 0x000066bc 0x1000 + 22204 8 UIKit 0x0006e9de -[UITableView _selectRowAtIndexPath:animated:scrollPosition:notifyDelegate:] + 6...

How can I cache my dynamic iPhone webapp for working offline?

Hello, I am having an iPhone web app written in PHP and using the WebApp.Net framework. I would like to make this application work offline as well. As I understood I can not use the manifest tag of HTML5 because my files are PHP and not html. Or at least it didn't work with it and I don't know if I am in the right direction. Does anyon...

Does Apple charge the publisher for distributing his gratis app in the App Store?

This might be a dumb question but I have not find the answer when googling it. I think the answer is "no" but like to have it confirmed. I know Apple gets a share for each App sold in the App Store. But are they earning when the App is for free? To make the question more clear. Suppose I develop a iPhone App and want to distribute that ...

Is there an 3rd party library for parsing JSON on the iPhone?

Is there an 3rd party library for parsing JSON on the iPhone? ...

UIDatePicker not rendering properly for certain modes in UIPopoverController

I have a UIDatePicker using UIDatePickerModeTime that I use in an iPhone app modally, works fine: Using this same basic code for iPad, but putting the view in a UIPopoverController gives some pretty inconsistent results. My desired mode (UIDatePickerModeTime) plus the other three modes are shown below. Notice how 2 of them are not r...

NSArry of floats issue

Hi, Im trying to create an NSArray of floats. However, once the value is added to the arrays it is alway 0.0000000. What am i doing wrong? NSLog(@"percent: %f" , percent); prints the correct value and NSLog(@"timeArray: %f", [timeArray objectAtIndex:i]); is always 0.00000. NSMutableArray *timeArray = [[NSMutableArray alloc] ...

UITextView - set width - allow scrolling up and down - wrap text to width.

Basically I want to have a UITextView - I want it to scroll up and down (ie: I set a height and width, and if the text overflows this then the contentSize is bigger than the frame). But, I don't want it to get wider. At the moment its scrolling left-to-right. All I want is for it to scroll up and down. Any ideas? Thanks Tom ...

Compare two nsdatecomponent

Hi all, if I have two nsdatecomponent and I want a know if the TIME in the first object is bigger than the second. example: if (nsdatecomponentObject1 > nsdatecomponentObject2) { //something } Because this way don't works, how I can do this? Alex ...

iPad UITextField -- cursor not centering when resizing frame with contentVerticalAlignment = UIControlContentVerticalAlignmentCenter

I am working on a universal iPhone/iPad app. I resize some of my UITextFields as the user types. I also have some code to move the UITextFields around so that their locations make sense as they are resized. This code is not too short, but basically it comes down to modifying the frames of the UITextFields. My UITextFields all have th...

Poor performance loading a scroll view

Hi, I have a view controller whose view consists of a paged scroll view controlled by 2 buttons (previous and next). In this scroll view are several custom views, each the size of one page. When I load the main view, the scroll view is set up to contain all of these subviews. The performance of my app is currently unacceptable in thi...

Time profiler in Instruments

I am having trouble launching Time Profiler in Xcode, both for Mac Applications and iPhone apps. The steps I have tried are opening Time Profiler, Clicking the choose target drop down box, selecting my iPhone or Mac book. Choose target -> myApp. If I choose a Mac app then I hit the record button a big yellow warning pops up accross the ...

Initialization for ViewController under NavController in TabBarController

I have the relatively common setup of a TabBarController whose tabs contain NavigationControllers which have TableViewControllers as their roots. I'm trying to perform some logic on initialization of one of these TableViewControllers but can't seem to find what init function gets called. My goal is to add a listener in the TableViewCont...

How to create a level with curved lines with cocos2d + Box2d on the iphone?

Hello, I'd like to create a game that has levels such as this: http://img169.imageshack.us/img169/7294/picdq.png The Player moves "flies" through the level and mustn't collide with the walls. How can I create such levels? I found that piece of software: http://www.sapusmedia.com/levelsvg/ It's not that cheap, so I wonder whether the...

AVMutableAudioMix and AVAssetExportSession (Help!!!)

Hi! I want to make fade in/out effect for export session. But it doesn't work. Please help me! Trim works perfect! But fade in/out doesn't :((( NSURL *assetURL = [song valueForProperty:MPMediaItemPropertyAssetURL]; AVURLAsset *songAsset = [AVURLAsset URLAssetWithURL:assetURL options:nil]; AVAssetExportSession *export...

Relationships between static application data and updatable user data with Core Data

I am developing an iPhone application that has a large database of items which the user can mark as favorite or add to certain lists. Currently, the SQLite file is first copied from the bundle to the document directory to make it writable and used as a Core Data persistent store. However, I will run into problems when I need to deploy a...

High profile MonoTouch apps?

A client do not want to consider MonoTouch for a new project. MonoTouch.info has a long list of apps, but I have not found any on the caliber that can convince a client too choose a technology. The client has seen the list, and actually use the bland screenshots as an argument against MonoTouch. Where can I find examples of applicatio...

Limit a double to two decimal places without trailing zeros

I read this and that. I want this exactly: 1.4324 => "1.43" 9.4000 => "9.4" 43.000 => "43" 9.4 => "9.40" (wrong) 43.000 => "43.00" (wrong) In both questions the answers points to NSNumberFormatter. So it should be easy to achieve, but not for me. - (void)viewDidLoad { [super viewDidLoad]; UILabel *myLabel = [[UI...

Audio issues with Transitions app

I have a transition based app I decided to expand my app and add audio but one issue with the audio does not let me move on. When I add the different sounds (one for each view) to more the the two views I keep getting the 2nd, 3rd and 4th sound etc. all mixed together instead of the next sound playing on its own.code below is little ...

iWebkit Vs JqueryMobile Vs JQtouch?

Hii Friends, i m newbie to iphone development , i have to design a iphone webapp,have found these three have the best features, Plz point out these pros and cons of these mobile frameworks? Does php is needed for form processing or we can use xml,feeds etc? ...

Cross View Communication

I have a UIWebView on my main window. Can I control that via my second view controller? If so could you give me an example? ...