Join Bill Weinman for an in-depth discussion in this video Viewing pages in Safari, part of iOS SDK and SQLite: Building Data-Driven Apps (2013).
- View Offline
- Exercise Files
Now, we have a working webView and we'd like to be able to pass pages off to Safari as…a full-featured mobile web browser.…Let's see how we do that.…We'll navigate here to Chapter 6 of our exercise files, and we're going to make a working copy of our webView-02.…I'm using the -done version.…You can use the version that you created if you've been following along with the exercises.…I'm going to rename that to -03 and open it up in Xcode by double-clicking on the Xcode…project file here in the project folder.…
So, I'm going to minimize that and come back up here to our actionButton method. And this…our actionButton that gets called whenever we press that button. It has an NSLog right now.…So, if I run this in the iPhone Simulator, and I'll bring up a page here, and you'll…notice when I press this button, instead of launching Safari, it just displays this log…message that says the URL that's been called.…
And so I'll come back here in Xcode. I'm going to press Command+. to stop the simulator.…I'm going to minimize that down there, and we're just going to replace this line with…
- Prototyping the app
- Coding and working with a testbed
- Creating an Objective-C interface for SQLite
- Designing a database schema
- Creating the view controllers
- Reading and writing to the database
- Parsing the RSS feed with NSXMLParser
- Updating the item view with feed items
- Implementing the pull to refresh gesture for iOS 6
- Creating a universal application with multiple views
Skill Level Intermediate
1. An iOS Testbed
2. Building a Database Library
Understanding SQLite in iOS1m 41s
3. Creating the Table View App
4. Parsing XML Data
5. Using a Modal View
6. The Web View Controller
7. Creating a Preferences Pane
8. Adding a Feature
9. Creating a Universal Application
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.