Skip to content
项目

关于

如果 iPhone X 上的滚动条像“贪吃蛇”游戏一样运行,会怎样?

游戏与模拟器

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

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.

探索相关项目

加载中…