iphone-sdk-3.0

iPhone release build memory error

I get this error when I try to build a release version of my app. It throws an error for a single file that is fairly large, but nowhere near 400+MB (in the KBs) Out of memory allocating 455627472 bytes after a total of 0 bytes Command /Developer/Platforms/iPhoneOS.platform/developerusr/bin/gcc-4.2 failed with exit code 1 I have 3GB o...

how to show the same view when the app is reopened

Hi, I have a tableview which shows a webview on clicking some row in the table, which in turn picks up the data from an sqlite. if a user closes the app by pressing home key while viewing a description in webview and reopens it after sometimes, I should be making the user to see the same screen. how to show the same view again ? What is...

how to pass data from UIWebview to user defaults or another view

Hi, I have a embedded uiwebview in my app which will in turn call a webpage. This webpage contains some data which should be saved in the user defaults of the iphone. How to achieve this ? ...

Need suggestions for designing the app

Hi, I am new to iphone programming designs. I have hundreds of plists on my server. On the first launch i will be downloading all these plists into my application and storing it here. What are all the best ways to save and retrieve these plists in my application ? What are the iPhone libraries that should be used to get the best and mem...

How to create two sections of the same screen using a custom view controller

I was wondering if someone could tell me how to create a custom view controller which will split the screen into two sections and manage the sections seperately in the same manner that the iPad Zillow app does this? See http://www.zillow.com/ipad/ if you are unfamiliar with the app. Thanks. ...

internally schedule an update in iphone

Hi, When the application which we built is offline or closed, Is it possible to pop up a message to open an application without the influence of back-end server ? Say for every one week ? ...

how to authenticate in MPMoviePlayer for iphone

Hi Friends, I want to live stream my video files and play it in iPhone. I am using MPMoviePlayer for playing the video. I am specifying the url in the below API:- MPMoviePlayerController *theMovie = [[MPMoviePlayerController alloc] initWithContentURL:theURL]; But my url asks for user credentials and I am not able to pass the credentia...

maximum size of a sqlite db per iphone app

Hi, Kindly get me the limits of following things in sqlite of iphone No of rows that can be created Maximum size of the database per app. ...

touch & touch and hold in iphone

Hi, I have a embedded webview in my app with a navbar and a uitabbar. when i touch and hold the uiwebview the copy,paste menu appears. Can i handle a single touch to show and hide my navbar and uitabbar ? ...

Play sound on a touch event??

i am using the following code to play a sound when user touches anywhere at the screen but whenever i test it no sound is played and also when i use the same code on a button it plays on the second click on the button not on the first click?? - (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event { UITouch *touch = [touche...

how to use cellular network for getting data from URL in xcode

Hai to all In general cases if we want to get the data from any URL ,using internet or Wi-fi we will hit the url and parse that data and use it. But in the application what I am doing, I need to use pdp_ip0 cellular network only even though the wi=fi is available. So ,could any one help me how to use cellular n/w. Thank you all. ...

uiscrollview and uitableview

Hi. i have a scrollview which contains a uitableview and few buttons. i have added the uitableview from IB. and the table cells are created dynamically. i am adding a lable and a textfield for each table cell(Something like an input form for the user.) I have written code to resize the scrollview when the keyboard appears. So when i clic...

regarding lauch image for iphone

Hi, Iphone HIG Page 131 says this It’s important to emphasize that the reason to supply a launch image is to improve user experience; it is not an opportunity to provide: ■ An “application entry experience,” such as a splash screen ■ An About window ■ Branding elements, unless they are a static part of your application’s first scree...

How to disable back button in iPhone Application

Hi all, In my project when we select item a item i am showing the details in next controllers but i have i am getting the details using Libxml, I have to disable the back button while loading the page how is it possible, please help me Thank You ...

problem with Rotation

Hi .. I am using a TabBarController....with 4 viewController. In my 1st viewController i have navigationController & some other controls. with this navigationController i navigate to sevral other pages(viewControllers). but when i rotate these viewControllers(where i navigate from 1st viewController) i did't get the view of these viewCon...

Problem with MFMailComposeViewController's "No mail accounts" alert - SDK 3.0 vs SDK 4.0

Hi all, I have a problem with this piece of code when I build it for different Base SDKs: MFMailComposeViewController *mail = nil; mail = [[MFMailComposeViewController alloc] init]; NSString *description = @"Some mail string"; if([MFMailComposeViewController canSendMail]) { mail.mailComposeDelegate =self; [mail setSubject:story...

efficient for querying large plists ?

I am planning to do search on large plists. say around 900 plists with data ranging from 120 to 250kb. which one is efficient for searching large plist ?? core data or sqlite ? ...

Programmatically change subviews from within subview's controller

In my iPhone applcation I've set up a default, blank view called Main View into which various child subviews will be loaded for different parts of the application. It's the same approach as if I was using a tool bar to switch between subviews. That case, in the MainView controller I could hook IBActions to buttons in the toolbar, so that...

making custom ads for iphone application??

i would like to display ads from my server in a uiwebview placed inside my application for which i will be sending some data from the phone to my server but what i have heard sending user data to your server in application will lead to the application being rejected?? is it true?? is there any other way to implement own custom ads from m...

Accessing Video in Camera Roll after it was previously saved within the same App

Dear all, I am doing some video related app. I am implementing the following. 1.- An existing Video is chosen from the camera roll using picker=[[UIImagePickerController alloc]init]; 2.- Then the video can be trimmed using the edition tool of the SDK. picker.allowsEditing = YES; 3.- Video is processed with a proprietary algorit...