iphone

How to populate UIPickerView with .plist file ?

I want to populate one.plist files from a number of .plist files as per the user selection . How to populate UIPickerView with a .plist file ? ...

iPhone video player tracking system

Hello, I almost spend one month on Object c programming and iPhone Xcode id, to get familiar. Thanks to all for providing samples and book online. I would like to customize existing video player in such a fashion so that it could play video file from any intermediate point. Example: - Let say video file of length 30:00 mins stopped...

How to return Dictionary fromJSON WCF service.

Hi ... I want to call a WCF service in which i pass just one argument(let's UserId) of any dictionary(have multiple K-V pairs)....& then save all the other arguments of this Dictionary in Database(SQl Server-2005). I have to use this for Iphone. Plz Plz any help/suggestion. ...

iPhone CorePlot - Strange error

Hello, I downloaded the CorePlotSDK, installed it using the readme instructions: copied the coreplotsdk directory to ~/Library/SDKs/ - imported in the PCH file - added $HOME/Library/SDKs/CorePlotSDK/${PLATFORM_NAME}.sdk to the additional SDKs and -ObjC -all_load -lCorePlot to the other linker flags setting. Now, if I try to build the p...

How to add search bar in navigation bar for iphone?

This is the code to display search bar but i want to put this in navigation bar sBar = [[UISearchBar alloc]initWithFrame:CGRectMake(0,10,320,30)]; sBar.delegate = self; [self.view addSubview:sBar]; //[self.navigationItem.rightBarButtonItem addSubview:sBar]; //self.navigationItem.rightBarButtonItem=sBar; is there any way? ...

Ideas on sync between iPhone and website

I have an iPhone app syncing with a website using a webservice. The sync procedure I'm using is the following: Send items that need to sync from iPhone to website Add items to website MySql database Send back items that need to sync from website to iPhone Add items on iPhone Sqlite database All this is done using one request to the s...

Resizing content in a UIScrollView

I am creating a scrollview programmatically and adding subviews to it programmatically. The subviews are created programmatically as well. I am just wondering how to rotate / resize the subview so that it remains visible in landscape mode. I have set the scrollview to autorotateSubviews:YES and in my subview i have set the mask to be ...

Complex View Hierarchy

Hi I have to create the following View Hierarchy in my app: RootViewController will be a simple View Controller with some buttons you can click that gets you to the FirstViewController: This code will insert the RootViewController with the buttons onscreen: appDelegate: UIViewController *rootViewController = [[RootViewController allo...

Getting GPS Error at disnyland Park (iphone)

Hi! i am developing a navigation base app for Disneyland park it gets lotions from GPS. the app works fine out side the park. when i enter in park the GPS is not working. it is maybe due to spotty 3G singalongs in park. Need help to solve this problem. ...

A question related to UITabelViewCell

hi How to set background image of UITabelViewCell? I want to set image of each cell of UITabelview kindly help in this issue aeap ...

iPhone application run on simulator 3.0 fine but problem with background drawing in iphone simulator 4.0

I have made application in xcode 3.1.3 targeting iphone os 3.0. It is working properly in simulator and device properly. I am checking for installing application in os 4.0. For that, i have opened project with xcode 3.2.3 and set deploment target to 4.0. Application works fine but there is issue of drawing background image as below. ...

Is this a sensible app design?

Hi. After much reading and many tutorials I'm now attempting to write my first iPhone app, but already starting to run into complications so want to go back to basics and ask whether I've got the fundamental UI design correct: MainWindow.xib has a TabBarController. The TabBarController contains 3 NavigationControllers, each containing ...

iPhone development

I've a great interest on iPhone Development and How i can start iPhone development ? I've no basic deals with C but I've programming knowledge and concepts. ...

UIImageView startAnimating: How do you get it to stop on the last image in the series?

I am using UIImageView to create a simple animation and everything works perfectly, but when I use startAnimating, the animation will run once (as I want it to) but go back to the first frame. I want the animation to stop on the last frame. I use: myAnimation.animationImages = myArray; myAnimation.animationDuration = 0.7; myAnimation.a...

iPhone Objective-C programmatically adding scope buttons to a UISearchBar

I currently this piece of code for creating a UISearchBar (adapted from a previous stackoverflow example): UISearchBar *searchBar = [[UISearchBar alloc] initWithFrame:CGRectZero]; [searchBar sizeToFit]; //searchBar.delegate = self; searchBar.placeholder = @"Search messages, listeners or stations"; self.tableView.tableHe...

DatePicker iPhone get only date

How can I get only the date from a DatePicker component on iPhone? (better with a specific format). ...

How do you disable the background view?

Hello friends, I want to make my background view disable on button click event or any other event like as UIAlertView view comes which makes background view Non Active. How to do that? please help. Thanks in advance. ...

How to get data from a mysql database using javascript?

If possible, how can I get (and post) data from a mysql database using javascript? I know I can use php and other languages, but I just need to know if this is possible with javascript? Thanks in advance. ...

iPhone NSXMLParser (Error 9)

Hi, i try to parse within my iPhone SDK 4 http://de.news.search.yahoo.com/news/rss?p=iphone&amp;ei=UTF-8&amp;fl=0&amp;x=wrt there are some german umlaute <description><![CDATA[Mehr als die Hälfte der Belegschaft des weltweit größten]]></description> As I read in another forum as long they are wrapped in CDATA it should be fine. But...

Mixing Objective C and C in switch statement trying to add a subview iphone SDK

I'm experiencing a weird problem. I have a for loop, inside the loop there is a switch statement. The counter in the for loop is a pointer that points to the beginning of a primitive array, it increments itself till it finds a "terminator number". The array pointed is used to build a view, each elements represent a subview to put in the ...