ios - NSCredential in UIAlertView to connect to a WebService -
i have navigationcontroller hold viewcontrollers, want access viewcontrollers authentification via uialertview. (some viewcontrollers content need authentification).
that uialertview send data webservice check first if login , password correct , receive datas + token store in iphone (like need authenticate once).
i'm going check on each viewcontrollers before access it, if user authenticate, checking if token registered in iphone.
but don't know how can figure out everything, mean architecture make things working : uialertview, nscredential, storing light data in iphone, etc...
can clear mind ?
here link fullfilling requirement
http://knowledgetransferinobjectivec.blogspot.in/2012/01/customized-uialertview-to-input.html
&
http://harikanangi.blogspot.in/2011/09/uialertview-extended-to-allow-users-to.html
the following link creates custom alertview , allows user fill credentials . using didselectbuttonatindex delegate of uialertview can catch event when user press ok or submit button . hope helps
Comments
Post a Comment