iphone

browse file in iphone

I want user to select file from iphone and upload to a http server. Please help me how this can be done. Thanks...... ...

Use multiple cell classes in tableViewController

Is there a way to use multiple uitableviewcell classes with nib files in the tableViewController? There's this great tutorial video for how to create custom cell classes to be used in a tableViewController at the cellForRowAtIndexPath function that I'm pasting here in case anyone wants to see. In this example though, they are only usin...

how to open HTTPS webservice in iPhone browser programmatically/

Hello, How to open the HTTPS web service in iPhone browser programmatically? I guess we can open the browser with the below syntax only for HTTP url, NSURL *url = [NSURL URLWithString:@"http://www.iphonedevelopertips.com"]; [[UIApplication sharedApplication] openURL:url]; Can i use the same syntax to open it for HTTPS url also? wh...

two sub UIwindow in one UIWindow?

hi, when we create iphone project, one UIWindow is created automatically.In that UIwindow UIViewcontroller's view is added on that window.but i want to create one parent UIWindow on which i have to add two sub window .In that sub windows i have add UIview controllers as normal...is it possible? any help please? ...

more UIwindow is possible in iphone sdk?

hi, My UIWindow has twoviewcontroller in pad .(for example ,tableview and imageviewcontrller ) I have done flipanimation when user presses the tableview, i called the method which is in appdeleagte from didSelectRowAtIndexPath ..(LIKE SPLITVIEWCONTROLLER) the method in t didSelectRowAtIndexPath iPadButtonsAppDelegate *mainDelega...

Create Album and Upload Photo in my facebook account using iphone application

Hello all Thanks for the help. In my application i want to add facebook feature. After Changes in my Picture i want to upload that image in my facebook account. Is there any code is available related this operation? Please help me on this. Pankaj Gadhiya ...

Set Image on imageview

Hi all, i have 2 classes , say class A and Class B. in class A, i have one button,on that button click, i want set an image on class B's imageview. How can i set image on imageview of class B from class A? Regards ...

Add items to NavigationBar (Not using UINavigationController)

Hi, I have a UIViewController with a UITableView in it, and also added a UINavigationBar. How can I add and "edit" button and a "+" button in that bar programmatically? (I have tried using IB, but the title is always replaced, and not other items are added) I am not using a UINavigationController. is my UIViewController standing alone. ...

How to extract the value from NSMutableArray?

-(void) readRestaurantFromXml { SGAAppDelegate *app = (SGAAppDelegate *)[[UIApplication sharedApplication] delegate]; NSString *myRequestString = [NSString stringWithFormat:@"%@getXml.aspx",app.SERVER_URL]; NSURL *url = [NSURL URLWithString: myRequestString]; CXMLDocument *rssParser = [[[CXMLDocument alloc] initWith...

Developing Geo-location apps for the iPhone

How does one build a directory of 'Spots' for users to check-in to in a native iPhone app? Or, does the developer borrow data from, let's say, Google Maps? ...

iphone create pdf document from pdf pages

hi, I want to create a new PDF file from the existing pdf document.That is I have one pdf file say "old.pdf" and from that user can select some pages and from those selected pages I want to create new pdf file say "temp1.pdf". Is it possible to create "temp1.pdf"? Plz help me and also provide some code example to do that. Thanks. ...

How can i give the external link to UIButton?Is it possible?

I am having the UIButton name as "Buy now".If any one touch the button,the external link should open in the safari browser.How can i achieve this? ...

How to create persistent storage on iPhone?

Hello, I would like to know which type of persistent storage would be safe to use for Archive files in iPhone? My archive files needs to be updated for every 30mins to 1hr, and i need to persist nearly 500 to 600 archive files. How to persist so many archive files on device? which persistent storage mehanism woulb be better to use? Th...

Is NSMainNibFile a required setting?

If I plan to programmatically create my views, can I build an iOS application without a main nib file? If so, how do I tell UIApplication what my app delegate is? ...

Is it the same write the iPhone and iPad app?

Hi, everyone, I have a question about the objective C. I am writing the iPhone application and I want to app which can also run on iPad. Is there are some change do I need to do? As I set the element in code rather than using the Interface builder. Do I need to reset the x,y,width and height for the application? Thank you very much. ...

How to make a text clickable in iphone sms?

I need to make a text as a clickable link in iphone sms. I just want to know if it can done or not? If yes then please help me out? ...

how to solve error for object double free set a breakpoint in malloc_error_break to debug

hi i am new to iphone. what i am doing is placing a button and while clicking the button it will display the image and i need to change the image for each button click for i am writing if loop like if(counter[button.tag] = 2) { [images exchangeObjectAtIndex:0 withObjectAtIndex:1 ]; } but images are not exchanged it shows like this i...

iPhone SDK 4.0.2?

Has anyone had any luck installing Xcode 3.2.3 + iOS 4.0.2 SDK? I've tried on two different machines, on a clean install of Snow Leopard, and I've re-downloaded the whole 2GB package several times (I mean several, a dozen perhaps). Yet installation immediately fails for me every time. Here's what I got from the Console: PackageKit: -...

Correct operation of Table View and Table Detail View

I need a small help. In my project there is a tab bar. On one of the tab bar items there is a navigation controller, on the view there is a table view. For TableViewController there are the usual codes: (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView { return 1; } (NSInteger)tableView:(UITableView *)tableView numbe...

How to upload video to facebook

When I upload a video (format mp4, avi, mov etc...), I get a 352 error : video file format not supported. Here is my function: - (IBAction)uploadVideo:(id)target { NSString *path = @"http://********************/MyVideo.mp4"; NSURL *url = [NSURL URLWithString:path]; NSData *data = [NSData dataWithContentsOfURL:url...