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 7721975
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T04:04:01+00:00 2026-06-01T04:04:01+00:00

I want to post on twitter wall but don’t want that user can edit

  • 0

I want to post on twitter wall but don’t want that user can edit message being posted.

So there is two possibility to do this

1) Either i can make TWTweetComposeViewController text field non editable.

2) Post without POP by TWTweetComposeViewController.

Please suggest me how to do out of above to options or any other ideas are most wel-come.

Thanks in Advance for any kind of Suggetions….

  • 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-06-01T04:04:02+00:00Added an answer on June 1, 2026 at 4:04 am

    i have done this by following code…

    -(void)postToTwittert:(NSString *)stringtoPost
    {    
        Class TWTweetComposeViewControllerClass = NSClassFromString(@"TWTweetComposeViewController");
    
        if (TWTweetComposeViewControllerClass != nil) {
            if([TWTweetComposeViewControllerClass respondsToSelector:@selector(canSendTweet)]) {
                TWTweetComposeViewController *twitter = [[TWTweetComposeViewController alloc] init];
    
                [twitter setInitialText:stringtoPost];
    
                [twitter addImage:[UIImage imageNamed:@"apple.jpg"]];
                [twitter addURL:[NSURL URLWithString:@"http://www.erwinzwart.com"]];
                [self findSubViewofTwitter:twitter.view];
                [self presentViewController:twitter animated:YES completion:nil];
    
                twitter.completionHandler = ^(TWTweetComposeViewControllerResult res) {
    
                    if(res == TWTweetComposeViewControllerResultDone)
                    {
                        [self completeGameStep:@"glueper2012"];                    
    
                    }
                    else if(res == TWTweetComposeViewControllerResultCancelled)
                    {
    
                        UIAlertView* alertView = [[UIAlertView alloc] initWithTitle:@"Canceled" message:@"Your Tweet was not posted" delegate:self cancelButtonTitle:@"OK" otherButtonTitles:nil];
    
                        [alertView show];
    
                    }
    
                    [self dismissModalViewControllerAnimated:YES];
    
                };
            }
        } 
    }
    

    by finding button and firing event

        - (void) findSubViewofTwitter:(UIView*)theView
    {
        for (UIView * subview in theView.subviews)
        {
            //NSLog(@">>>>>>>>>>>>>>>>>> :%@", subview);
            if ([subview isKindOfClass:[UIButton class]])
            {
                UIButton *btn = (UIButton *)subview;
                //NSLog(@">>>>>>>>>>>>>> is kind of class :%@", btn.titleLabel.text);
                if([btn.titleLabel.text isEqualToString:@"Send"])
                {
                    [btn sendActionsForControlEvents:UIControlEventTouchUpInside];
                }
            }
            [self findSubViewofTwitter:subview];
        }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to post a message on the user's facebook wall using access token.
I don't want to do anything fancy on Twitter except post to it via
I want to put facebook,twitter,flickr into my iPhone app, so that users can easily
I am trying to post a url to twitter but the url is user
I know that it's possible to post an image in the wall of user
I deeply expect that I can post a status to Twitter without having to
I created a NSEvent and I want to post it. How can I do
heyy there i want to parse a text,let's name it 'post', and 'urlize' some
I don't want default twitter to open because it should be compatible with ios
I want to post image to twitter on my app. I use twitter4j library

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.