Skip to content

Latest commit

 

History

History
8 lines (5 loc) · 700 Bytes

README.md

File metadata and controls

8 lines (5 loc) · 700 Bytes

ScrollSnake

What if scroll bars on the iPhone X worked like the game “Snake”?

This very silly thing is a response to this Tweet by Vojta Stavik.

Screen recording of the iPhone X simulator with the sensor bar ("notch") on the right. As a table view scrolls, the scroll bar bends and contorts itself around the sensor bar. It kind of looks like a game of Snake.

Note: this project is hardcoded to the screen dimensions and sensor housing size of iPhone X/Xs/11 Pro. To support any other devices, the specific sizes in viewDidLayoutSubviews would need to be adjusted.