Thursday, 27 September 2012

TOAST in iOS

iOS toast is a small popup without ok button which is similar to Android TOAST. It only fills the amount of space required for the message and the current view remains visible and interactive.

Download the source code from my github https://github.com/karthikprabhuA/Toast_iOS/

By using AKPToast class you can easily create a Android like TOAST message in iPhone/iPad application.
How to use :-
//center position toast
AKPToast* toast = [[AKPToast alloc]initWithText:@"Please wait.." toastView:self.view position:CENTER duration:SHORT];
toast.delegate = self; //you can get the toast completion event in the delegate -(void)toastCompletionDelegate
[toast show];

2 comments:

  1. Awesome Blog. Thanks. Do keep posting such good blogs. Thanks for sharing Informative posts.
    ---------------------------------------------------------------------
    iPhone App Development And Android Application Development

    ReplyDelete
  2. Thanks for your informative article on ios mobile application development. Your article helped me to explore the future of mobile apps developers. Having sound knowledge on mobile application development will help you to float in mobile application development. IOS Training in Chennai | IOS Training Institutes in Chennai

    ReplyDelete