Я пытаюсь создать липкий дополнительный заголовок, который все время остается в верхней части и не будет отвечать на прокрутку событий. Решения, которые я нашел до сих пор, по-прежнему реагируют на прокрутку и исправляются с использованием пользовательского потока, что, вероятно, также будет проблемой для моей проблемы.
Причина, по которой я хочу это сделать, заключается в том, что заголовок используется в других местах и должен быть повторно использован. Я надеюсь, что это можно решить таким образом, и мне не нужно создавать отдельный вид.
Как я делаю это в Swift, было бы здорово иметь пример в Swift.