Thanks SO MUCH from me too. The sample code is VERY helpful.
PS: I updated the keyboard type to number using this:
[postController.textView setKeyboardType:UIKeyboardTypeNumberPad];
Thanks
Ajay
On Dec 7 2009, 3:10 am, Travis <travis.i.wy...@gmail.com> wrote:
> If you're looking to useTTPostControllerwithout the use of
> TTNavigator you can do something like:
>
> TTPostController*postController = [[TTPostControlleralloc] init];
> postController.delegate = self; // self must implement the
> TTPostControllerDelegate protocol
> self.popupViewController = postController;
> postController.superController = self; // assuming self to be the
> current UIViewController
> [postController showInView:self.view animated:YES];
> [postController release];
>
> And then to grab the text entered by the user with (see the bottom ofTTPostController.h for other methods available):