Skip to content
This repository has been archived by the owner on Aug 19, 2020. It is now read-only.

Not Properly Scrolling Anymore in iOS7 #20

Open
DannyJi opened this issue Sep 6, 2013 · 4 comments
Open

Not Properly Scrolling Anymore in iOS7 #20

DannyJi opened this issue Sep 6, 2013 · 4 comments

Comments

@DannyJi
Copy link

DannyJi commented Sep 6, 2013

When test my app for the upcoming iOS7, I noticed that the scrolling to the active text field no longer works.

I tried just testing the supplied Example.xcodeproj to ensure it was not something funky I was doing.

The Example project worked fine when running in the iOS6 simulator. I can navigate to the all the fields back and forth, using the next and previous buttons. The view is scrolled and focused properly.

However, when I run this on the iOS7 simulator, I can navigate to the first few fields fine in the Example project. When I get to the "Your favorite food?" field, pressing the "Next" button, scrolls the view to the top - showing Username, Password, etc... but cursor is in "Your favorite movie?" field behind the keyboard. In my app, the same thing is occurring.

I believe the problem is in the scrollRectToVisible and the iOS7 keyboard. I know this is probably not a problem with this great control - but it will "break" the Example once iOS7 is released if there is not a fix with Apple or another workaround.

@DannyJi
Copy link
Author

DannyJi commented Sep 20, 2013

Anybody figure this out? Now the iOS7 is released, people may be experiencing the same problem and the example project is still not performing the same using iOS6 and iOS7.

Other developers are complaining about UITextView and the scrollRectToVisible method.

@LeoSnek
Copy link

LeoSnek commented Oct 5, 2013

I get the very same issue and I have an issue when trying the code in my own app (I didn't have it prior to iOS7).

@msafder
Copy link

msafder commented Oct 21, 2013

Just wondering, has this issue with iOS 7 been fixed yet or has this project been abandoned?

@simonbs
Copy link
Owner

simonbs commented Oct 21, 2013

The project has not been abandoned. It is my intention to fix this but I just haven't had the time yet. If anyone comes up with a solution, I will gladly merge it.

Igotit added a commit to Igotit/BSKeyboardControls that referenced this issue Nov 10, 2017
# By Simon Støvring (4) and others
# Via Simon Støvring (16) and others
* commit '0a60257c6b9b508a06ba4e8729898c85c711cef1': (23 commits)
  adds German translation
  Fixed typo in property name
  Points to version 2.3
  Define BSKeyboardControl using NS_OPTIONS and BSKeyboardControlsDirection using NS_ENUM to make them usable in Swift.
  initialize rightArrowButton before set its default enabled status.
  may as well type out the whole word. Autocomplete, ftw.
  fixed typo: upatePrevoidNextEnabledStates
  Handle deprecation warnings a little more gracefully.
  Ukraine l18n added
  added pod info to Install section
  Points to version 2.2
  Spanish localization
  Add iOS 7 arrows to replace iOS 6 prev/next
  Fix setBarStyle issue simonbs#24
  Use system tap/click sound for Previous|Next buttons
  update podspec for v2.1 to get all new updates
  russian localization;
  fix issue simonbs#20(Not Properly Scrolling Anymore in iOS7)
  add portuguese localization
  Added Swedish language, courtesy of Leander Lindahl.
  ...

Conflicts:
	BSKeyboardControls/BSKeyboardControls.h
	BSKeyboardControls/BSKeyboardControls.m
	Example/Example.xcodeproj/project.pbxproj
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants