iphone

Does Apple's iPhone App Review Process use a business or calendar day?

We are trying to plan our current and future iPhone app releases. I see that the app store claims 95% reviewed in 14 days as of 11/20/2009. I know this is an estimate but I was wondering if anyone knew if Apple was working off of business days (M-f) or are they referring to calendar days? We waited 10 calendar days to get into review to...

objectForKey stringValue crashing my app?

I have a class that I use to setup objects in an array. In this class I have a custom "initWithDictionary", where I parse a JSON dictionary. However, as I am running into NSNull, this crashes my app. To get around this, I set up a class that handles exceptions, so when a string is NSNull, it's replace it with @"". or -1 for integers. Th...

Storing and Fetching images with text data from database(Sqlite-3)CRASH the application..!!

Hello friends.. I am new to iphone so please help me to solved my problem... Actually , Storing and Fetching "Images" with text data from database(Sqlite-3)CRASH the application..!! i am using these data in search table.. after fetching all the data,application crash after 2-3 min. ->Let me know the whats the best way to store or fetch ...

how to select multiple image with UIImagePickerController

hello everyone, I'm a newbie in iPhone development,the site give me a lot of help. But now, I meet a trouble, I want to select more than one photo in photoalbum, but when I use the UIImagePickerController , I can get just one photo, could you tell me how to select more photos? thank you. best regards, ofllm ...

Zooming in UIScrollView is not smooth.

I created a minesweeper clone game in iphone. My implementaion of the cells in the grid is this, I created a UIView and added buttons in the UIView and then I added the UIView in a UIScrollView, but every time I zoom out or zoom in using zoomToRect method of UIScrollView the zooming is not smooth and the zoom out was distorted. How can i...

constraining drag move along a path in iphone

I am making an app in which balls roll on tracks. So when we touch and drag the balls around the screen, they should move along the tracks. If the drag goes out too distant from the track, it should stop. The tracks can be any shape. What is the best appraoch..? ...

What is the proper usage of NSManagedObjectContexts when editing/creating new objects (iPhone)?

I am trying to figure out the proper way to use NSManagedObjectContexts when you are viewing, editing, and creating NSManagedObjects. I feel that the documentation and examples have explained how to use them in the most basic cases, but I'm not sure what the proper methods are in a slightly more complex setup. The setup: 3 main screen...

iPhone programming cellForRowAtIndexPath not called even after delegate set

Hi, I'm trying to create and draw a UITableView populated by an array. I've created a UIViewController and set the UIViewController as my tableview's delegate. However, it seems that my cellForRowAtIndexPath method is not called when the tableview is created, so my table never gets populated. What am I missing here? (All labels are init...

A problem with override UINavigationController

now i'm working with cocos2d and i design to add navigationcontroller to my cocos2d application, so i add navigationcontroller to my application when i click it not pass touch or event to cocos2d now i'm try to override UINavigationController by add new new class name is NavigationController and inherit from UINavigationController in i...

openURL and YouTube

Is there any way to open the YouTube app from my app, with a defined search query? If not, is there a way to just open YouTube, without playing any video? All I'm finding is ways to play videos. ...

problem with NSString stringWithString, in iPhone app

This is a snippet of some code that I've been having problems with. I have an iPhone app that works fine for 99% of my users, but for maybe 1%, I have this bug which I can't resolve or reproduce on my end. The app just freezes for them, and doesn't actually crash (so no crash reports). Some ad-hoc distribution testing has revealed the pr...

How to crop image after taken from UIImagePicker Camera?

I'm trying to allow the user to take 16x9 aspect ratio images to look like they are nice HD photos. I'm using the cameraViewOverlay to overlay black bars on both ends, but when the image is taken, how do I crop the top and bottom without resizing or changing the scale of the image? Thanks. ...

Is there a way to display an email using MFMailComposeViewController

I am looking for a view to display an email on the IPhone. Is there something similar to MFMailComposeViewController?. Please suggest. ...

Issue in solving the compilation error in xCode.

HI all, I have a issue while compiling the code. I got the code from svn. but it gives the following error : error: syntax error at 'OTHER' token error: syntax error at 'OTHER' token error: syntax error at 'OTHER' token error: syntax error at '#' token error: syntax error before 'OBJC_STRING' token error: syntax error before '}' t...

executing two methods parallely

hi friends, i want to execute two methods parallely. what should i have to do and how it is possible. is it possible using NSThread ? if yes then How ? waiting for your great responce. Tanking you ...

scrollToRowAtIndexPath scroll inside the header section

When I use the indexpath.row = 0 ,it is working fine and showing below the header But when I use the indexpath.row =1 , the row 1 will move inside the header section of the table view . Please help me , i want the first row should be hidden at lauch . [alltweettableView scrollToRowAtIndexPath:[NSIndexPath indexPathForRow:1 inSection:...

How to style uitextview to like Rounded Rect text field ?

Hello all, I am using a text view as a comment composer . In the properties inspector I can't find anything like border style property so that I can make it to rounded rect something like uitextfield. so the question is : How to style uitextview like uitextfield rounded rect ? ...

Formatting a date in my titleForHeaderInSection

Hello, I am working on a simple to do list application, and I am wanting to set the date in a normal format in the titleForHeaderInSection part of my uiTableView. But I am having some issues. It works to an extent, but is giving me way too much information, it shows: 2009-12-01 00:04:10 -0700 in the field where I'd just like it to sho...

implementing core data to an existing iPhone-project

Hi Folks, I´ve some trouble with implementing Core Data to my existing iPhone-Project. First I wanna give you a more detailed view on it: Some of my classes are nested into each other: The class "Game" has an NSArray with objects of class "Player", the class "Player" has an NSArray with objects of class "Item" in turn. What I wanna do...

iPhone:Problem when submitting the app which has same bundle identifier

Hello All, I have created a provisional profile using 'Non Wild Card App ID'. Which does have like "com.compnayname.appname". As i want to use this for my free application as well as the same application with new set of features as paid application, i followed to not to use Wild Card App ID. Now i have submitted my free application, it ...