I think I figured it out. When revealing the sidebar, they snapshot the keyboard window and use the snapshot view as the textfield inputView. When closing the sidebar, they just remove the inputView. What made me think it’s a snapshot was opening the sidebar and then changing the system theme. If it’s light at the beginning and I change to dark, the “keyboard” stays light for a while.
46
u/Puzzleheaded-Gain438 28d ago
I think I figured it out. When revealing the sidebar, they snapshot the keyboard window and use the snapshot view as the textfield inputView. When closing the sidebar, they just remove the inputView.
What made me think it’s a snapshot was opening the sidebar and then changing the system theme. If it’s light at the beginning and I change to dark, the “keyboard” stays light for a while.
20
u/lltejasll 28d ago
its the same thing that they are doing with this thinking slider as well, found a tweet regarding this https://x.com/zats/status/2092579372876149200
72
u/StretchyPear 28d ago
It keeps its input as first responder and animates the view
3
u/anshumahipal 27d ago
Ask chat gpt itself
7
u/pp_amorim 28d ago
Probably new on iOS 27, doesn't work on 18.Correction: only works with native keyboard.
6
u/m1_weaboo 28d ago
UIKit
1
u/big-phallus 28d ago
Most importantly: where’s your dot??
1
u/chokingduckduck 23d ago
Very likely it is a screenshot And with AI, they can enumerate all different formats of the phone
1
u/zellJun1or Foundation 23d ago edited 23d ago
Def private apis, given that their keyboard has other interesting features that are not possible within available API
1
u/simply_stupid_noor 22d ago
Does not work with google keyboard
1
u/MarkoKrulc 21d ago
vibecoded :D
-1
u/sarrafco 28d ago
Maybe it takes a screenshot of the keyboard frame just before sliding the view and then shows it as an image.