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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T13:26:51+00:00 2026-06-15T13:26:51+00:00

im new to stackoverflow and objective c, so forgive me in advance :) i

  • 0

im new to stackoverflow and objective c, so forgive me in advance 🙂

i have a UIcollectionView that displays a virtual folder list
when clicking on “Add Folder” a cell is added to the collection. The cell has a UITextField inside that i make FirstResponder, which pops up the virtual keyboard and the user can edit the name of the folder. works good on every folder im adding.

the problem is when the user is tapping a folder.

I do reloadData to the CollectionView (cuz i now wanna show the tapped folder’s content) and after that every folder that i add wont pop up the virtual keyboard, and the UITextField wont become first responder ?

anyone has an idea why that is ?

another interesting thing is that when i tap on the collection (an empty area that has no cells) and after that tries to create a new folder, the keyboard returns..

  • 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-15T13:26:52+00:00Added an answer on June 15, 2026 at 1:26 pm

    My problem was that my UITextField was on the cell itself, and the fact that UICollectionView is using reusable cells. So every time i got me a different cell (an exisiting one when it was available and a new one when it wasent) and couldnt locate where to send my becomeFirstRisponder. I solved it by giving every cell a uniq identifier at creation time and looking for the right identifier when sending the becomeFirstRisponder command.

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

Sidebar

Related Questions

I'm new to programming and stackoverflow and have decided to start by learning objective
I'm new here to stackoverflow, so bear with me. I have a book that
I'm new to StackOverflow, and also new to objective-c. I have tried looking for
I'm new to Objective-C (and stackoverflow) and I'm a little turned around about best
I am new to stackoverflow and the programming world. I have a basic program
I am new to stackoverflow! I have been working on an app in android,
New to StackOverflow here. I'm working on the first Euler problem and have run
i am new to stackoverflow and i would have a question about C# structs
So, another EXC_BAD_ACCESS topic on StackOverflow, but as I'm new to Objective-C this is
I am new to programming with Objective-C and Stackoverflow, and I need some help.

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.