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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T07:09:14+00:00 2026-05-26T07:09:14+00:00

I have a table view with bible verses on each cell. I want to

  • 0

I have a table view with bible verses on each cell. I want to post the verse to Facebook.

I have already done the posting with static text from a textview.

When I tap the cell, an action sheet pops up and there is a button to go to the posting page. This works, the posting page has a textview. How do I get the text view in the posting page to display the content of the selected cell from the tableview?

  • 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-26T07:09:15+00:00Added an answer on May 26, 2026 at 7:09 am

    You will have to save the selected verse in an instance variable (of type NSString*).

    - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
    {
         self.verseToBePosted = [tableView cellForRowAtIndexPath].label.text; //whatever is holding the verse
    
         //other stuff
    
    }
    

    Then, in the action sheet delegate, use this instance variable for posting-

    - (void) actionSheet:(UIActionSheet *)actionSheet clickedButtonAtIndex:(NSInteger)buttonIndex
    {
          //post if the post button was pressed
          [self postToFB:self.verseToBePosted]; //whatever your function name is
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a table view that has many cells. Each cell has its own
i have a table view. And im adding two buttons to each cell: -
I have a table view of custom cells representing individual uploads and each cell
I have a tableview cells containing bible verses one by one in each cell,my
I have a table view and when a user selects a cell I want
I have a table view as follow i did set reminders for each cell
I have a Table View Controller with cells. I want to update the text
I have Grouped Table View in which I want to display Contact details. But
I have a table view and if we touch a cell a video plays.
I have a table view with a list of categories and each category (understand

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.