ios - Why does UITableView Header (and only header) shift down 60 pts -


i had issue drove me crazy , turned out bizarre solution thought i'd post in hopes helps else

i had table view manually showing refresh control , offsetting tableview. reason, seeing instances of first section header shoved down 60 pts (and tableview well, not until scrolled around). tried offsets , insets , frames , bounds of table view, no luck. turns out if try set refreshcontrol.attributedtitle this. removed line , worked.

don't set attributedtitle of tableview's refreshcontrol , should stop seeing vertical shift


Comments

Popular posts from this blog

node.js - Mongoose: Cast to ObjectId failed for value on newly created object after setting the value -

gradle error "Cannot convert the provided notation to a File or URI" -

ios - Possible to get UIButton sizeThatFits to work? -