Posts

Post not yet marked as solved
0 Replies
1.5k Views
I reset my Development environment to match Production. Then I added a new field of type Asset. Attempting to deploy to Production shows 22 field changes and 12 index changes, with the field types being marked unknownType. The diff view shows the correct attribute types, but also reflects the proposed removal of indices. I'm hesitant to push to Production because iI worry my field types will be removed and my current users will see errors. Has anyone seen this before? Anyone know if this is a bug?
Posted
by mbciarlo.
Last updated
.
Post not yet marked as solved
1 Replies
492 Views
I'm using a UICollectionViewCompositionalLayout with estimated cell heights and simple UICollectionViewCell items that contain a UILabel. I'm using the common self-sizing AutoLayout pattern with the label anchored to the top and bottom of the contentView. The collectionView renders correctly when the controller is presented, but when I scroll to the bottom and then scroll back up, the UILabel is collapsed, leaving what looks like a 1px sliver of content. Momentarily swiping up to the home screen and canceling the gesture causes the cell heights to snap to the correct values. I've tried calling layoutIfNeeded before cells are returned. I've checked prepareForReuse and my AutoLayout code. I've fiddled with various UILabel compression and content hugging priorities and nothing seems to change this behavior. Anyone experience anything similar or have a suggestion for a fix?
Posted
by mbciarlo.
Last updated
.
Post not yet marked as solved
5 Replies
1.1k Views
Hi all! I have a UICollectionViewController with cells that contain UITextField items. On iOS 14, switching firstResponder status between each text field programmatically caused the UICollectionView to auto-scroll the items into view. On iOS 15 this behavior still occurs, but the animation is jittery. The scrollview jumps up and down rapidly while the animation occurs. As a sanity check, I have no other code executing while this animation occurs. The contentInsets and contentOffset are only being affected by the firstResponder animation. Any ideas why this might be happening?
Posted
by mbciarlo.
Last updated
.