Reputation: 24820
I have seen the Contacts in iPhone Simulator.
I want to create an application similar like that.
Does apple provide open source of that " Contacts " application.
Similarly, Does apple provide source code of " Safari ",
So we can create our own browser.
Upvotes: 0
Views: 4052
Reputation: 25969
To create "Safari" You can just use a UIWebview with a tool bar. It's rather trivial. a tutorial is here:
http://icodeblog.com/2008/12/19/iphone-coding-learning-about-uiwebviews-by-creating-a-web-browser/
Contacts is slightly more involved, you can use the Adress Book Frameworks. There are Cocoa Touch classes to bring specific view controllers into existence. These are like the photo picker where you give up control of the UI until you recieve a callback. There is also a C-based API for direct manipulation of the contacts DB from within your app.
Upvotes: 1
Reputation: 25001
They don't provide the source code. You have a UIWevView
that you can use to render web pages using WebKit, and you can access the address book information by using the Address Book framework.
Upvotes: 3