Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6085659
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T11:39:49+00:00 2026-05-23T11:39:49+00:00

Hi I am adding a post comment section in my iPhone APP rest all

  • 0

Hi
I am adding a “post comment section in my iPhone APP”
rest all things are working fine but when I tap on “postController textView” a keyboard is suppose to appear from the bottom but it is not appearing However the cursor is displaying and the text that I am passing using postController.textView.text = @”” is also displaying.

Please suggest the areas to be looked for fixing this bug.

   -(void)showCommentView
    {
        TTPostController *postController = [[TTPostController alloc] init];

    // self must implement the  TTPostControllerDelegate protocol
        postController.delegate = self; 
        self.popupViewController = postController;

     // assuming self to be the current UIViewController
        postController.superController = self;
            postController.textView.text=@"temporary text";
        [postController showInView:self.view animated:YES];
        [postController release];
    }

above is the code that is giving call to the Three20 PostController

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T11:39:49+00:00Added an answer on May 23, 2026 at 11:39 am

    below is the calling method which is unchanged…

        -(IBAction)postComment:(id)sender
                {
            [UserManager instance]authenticateUserAndProceed:self withSelector:@selector(showCommentView)];
            }
    -(void)showCommentView
        {
            TTPostController *postController = [[TTPostController alloc] init];
    
        // self must implement the  TTPostControllerDelegate protocol
            postController.delegate = self; 
            self.popupViewController = postController;
    
         // assuming self to be the current UIViewController
            postController.superController = self;
                postController.textView.text=@"temporary text";
            [postController showInView:self.view animated:YES];
            [postController release];
        }
    

    changed method

    -(void)authenticateUserAndProceed:(id)parent withSelector:(SEL)selector
    {
        theParentViewController = parent;
        self.theFunctionToCall = selector;
        if(userid == nil)
        {
            GetUserInfoViewController *guivc = [[GetUserInfoViewController alloc] init];
            [parent presentModalViewController:guivc  animated:YES];
            guivc.delegate = self;
            [guivc release];
        }
    
    
        else {
    //////////////////// below line was replaced///////////
    //  2.          [theParentViewController performSelector:selector];
    // with below code
        UIAlertView *alert =[[UIAlertView alloc]initWith Title........
        [alert show];
    
            }
        }
    

    PROBLEM SUMMARY:
    as soon as the user registered, he was not able to the kyboard for the TTPostController

    CHANGE SUMMARY:
    As soon as the user is registered the call to
    [theParentViewController performSelector:selector];
    is not sent directly but the call goes to ann alertview which inter calls it.

    EFETCS SUMMARY:
    the user will see a “you are registered successfully” (kind of) alertview.
    tapping OK on which, he will be sent to TTPostController. (this time the keyboard is appearing)

    I kept the line# 2 in the AlertViewDelegate method.
    I was amazed o see it working just by not calling the line 2 directly.

    this worked for me.
    I welcome any new and better idea to implement the same

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How would I go about adding a comment section under each photo in this
I am working on a comment script using PHP and jquery. My jquery post
I'm working to install the acts_as_commentable plugin on my Rails 3 app. After adding
I'm dynamically adding a custom user control to the page as per this post
When adding new properties to classes, I find myself typing the same things over
For some reason I can no longer post a comment as an Anonymous user
It's not quite clear from this post: https://devblogs.microsoft.com/pfxteam/concurrentdictionarys-support-for-adding-and-updating/
Adding an element to the head of an alist (Associative list) is simple enough:
Adding source files more than one directory away (e.g. ../../source.cpp or ../../../somewhere_else/source.cpp, vs. just
When adding a DLL as a reference to an ASP.Net project, VS2008 adds several

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.