Apple's Human Interface Guidelines for iPhone as numbered rules: touch targets, safe areas, navigation, type, color and accessibility, with code.
Framework-agnostic web rules: WCAG 2.2, semantic HTML, responsive layout, forms and performance.