Search Results

Search found 4 results on 1 pages for 'devb0yax'.

Page 1/1 | 1 

  • Hiding a Bar button item in the view

    - by devb0yax
    How can you able to hide the (done) bar button item in a view? Basically, I have a view controller added with navigation bar (in IB) then, I also added a bar button item into the nav bar. I just want initially the (done) bar button item is hidden.. when input is in the text view the (done) button is already visible. Any idea on this implementation on a view controller? Here's my sample code: @interface MyTextViewViewController : UIViewController <UITextViewDelegate> { UITextView *m_textView; UIBarButtonItem *doneBarButtonItem; } @property(nonatomic,retain) IBOutlet UITextView *m_textView; @property(nonatomic,retain) IBOutlet UIBarButtonItem *doneBarButtonItem; - (IBAction)saveAction:(id)sender; .m file: - (void)viewDidLoad { [super viewDidLoad]; doneBarButtonItem.hidden = YES; --> compile error!!! } - (void)textViewDidBeginEditing:(UITextView *)textView { doneBarButtonItem.hidden = NO; --> compile error!!! } - (IBAction)saveAction:(id)sender { doneBarButtonItem.hidden = YES; --> compile error!!! ... }

    Read the article

  • Textview with an Imageview as background, inputted text is behind the keyboard

    - by devb0yax
    Hi, I have here a view with an image and the text view (with finite frame size) . I've already implemented the textview keyboard notification but the problem is that when inputting in the textview it still behind the keyboard (the text is not visible). It seems this problem occur when I have an Image view as background. Pls advise me how to fix this. Here's my sample code: http://snipplr.com/view/35758/textview-input-is-behind-the-keyboard/ Thanks

    Read the article

  • adding a toolbar to a pickerview

    - by devb0yax
    Hi, How I could able to add a toolbar to the picker? I want above the picker there is a toolbar with a "done" bar button item. clicking the "done" button will hide (animate) the picker offscreen (going to bottom like the keyboard) I'm still looking for this how-to... Hope you could help me. Thanks

    Read the article

  • How to handle UIPickerView with two data sources?

    - by devb0yax
    Hi, is it possible to handle two data sources in the UIPickerView? I have here a segmented control that would control the display of the picker view. So, for example, when first segment is clicked, the picker will display person's name. Then, when second segment is clicked, picker will display place's name. Thanks

    Read the article

1