Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 01-01-2010, 01:22 PM   #1 (permalink)
Registered Member
 
Join Date: Jan 2010
Posts: 15
Exclamation Verifying a URL

Hello everyone,

I am developing a complex web browsing application that allows the user to input a homepage in the settings app, and upon loading the browser it loads that homepage.

I have many methods that manipulate that URL, such as adding http://www. if the user has not, but I run across many errors in my app if the user enters an invalid URL such as ddfgdfgercv.com.

I need a way to verify that url (make sure that it exists) and if it doesn't, pop an UIAlertView telling them that it is not valid.

Thank you,
SonyQrio
SonyQrio is offline   Reply With Quote
Old 01-01-2010, 02:55 PM   #2 (permalink)
iOS Developer
 
chaseacton's Avatar
 
Join Date: Feb 2009
Location: United States
Posts: 532
Send a message via AIM to chaseacton Send a message via Skype™ to chaseacton
Default

Quote:
Originally Posted by SonyQrio View Post
Hello everyone,

I am developing a complex web browsing application that allows the user to input a homepage in the settings app, and upon loading the browser it loads that homepage.

I have many methods that manipulate that URL, such as adding http://www. if the user has not, but I run across many errors in my app if the user enters an invalid URL such as ddfgdfgercv.com.

I need a way to verify that url (make sure that it exists) and if it doesn't, pop an UIAlertView telling them that it is not valid.

Thank you,
SonyQrio
Did you mean to post this in the jobs category?
__________________
Freelance Inquiries:
www.chaseacton.com/services

Apps:
chaseacton is offline   Reply With Quote
Old 01-01-2010, 03:01 PM   #3 (permalink)
Registered Member
 
Join Date: Jan 2010
Posts: 15
Default RE: Verifying a URL

No, sorry.
SonyQrio is offline   Reply With Quote
Reply

Bookmarks

Tags
browser, errors, uiwebview, url, verifing

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 266
22 members and 244 guests
@sandris, AdamL, ADY, Dani77, diyora, FAED, fredidf, F_Bryant, GHuebner, HDshot, headkaze, mer10, Oral B, prchn4christ, Rudy, smithdale87, stekki, tgjorgoski, Thompson22, Touchmint, twerner, vigu360
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,880
Threads: 89,228
Posts: 380,752
Top Poster: BrianSlick (7,129)
Welcome to our newest member, @sandris
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 01:00 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0