Post

Replies

Boosts

Views

Activity

Reply to [Critical Issue] Content with variable height in a LazyVStack inside a ScrollView causes stuttering / jumping
What worked for me I have replaced Scrollview and Lazyvstack with a 'List' and it has resolved the stuttering/flickering issue for me. So for the above example, try to change this code VStack { Button("Shuffle items") { items = MockData.randomMessages(count: 100) } ScrollView { LazyVStack(spacing: 10) { ForEach(Array(items ...... } To this: VStack { Button("Shuffle items") { items = MockData.randomMessages(count: 100) } List { ForEach(Array(items ...... } Let me know if it solved your problem. Thanks
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Oct ’23
Reply to Crash in background on iOS 15 EXC_CRASH (SIGKILL)
@edford: I appreciate your contribution to this thread. I encountered a similar situation. When I downloaded the crash reports from TestFlight, there was no 'reason' field. Then I read all the replies and your comments and found that I needed to check the crash reports using the XCode crashers organizer. I am highlighting this for future readers: To find the 'reason' field, It is important that you analyze the crash using XCode crashes organizer. Find your crash in the organizer, right-click and then click 'show in finder. This will be an XCcrashPoint file. Open it and the reason field should be there. See attached screenshot Hope it helps. Awais
Topic: App & System Services SubTopic: Core OS Tags:
Mar ’22
Reply to [Critical Issue] Content with variable height in a LazyVStack inside a ScrollView causes stuttering / jumping
What worked for me I have replaced Scrollview and Lazyvstack with a 'List' and it has resolved the stuttering/flickering issue for me. So for the above example, try to change this code VStack { Button("Shuffle items") { items = MockData.randomMessages(count: 100) } ScrollView { LazyVStack(spacing: 10) { ForEach(Array(items ...... } To this: VStack { Button("Shuffle items") { items = MockData.randomMessages(count: 100) } List { ForEach(Array(items ...... } Let me know if it solved your problem. Thanks
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Oct ’23
Reply to Crash in background on iOS 15 EXC_CRASH (SIGKILL)
@edford. I am attaching my recent crash report as an attachment here. I have anlysed the crash report and i believe my app was stuck in some kind of deadlock. I am using locks to manager synchronization. Can you please spare some minutes and verify that my assumption is correct. Bundle of thanks. front-board.crash
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Mar ’22
Reply to Crash in background on iOS 15 EXC_CRASH (SIGKILL)
@edford: I appreciate your contribution to this thread. I encountered a similar situation. When I downloaded the crash reports from TestFlight, there was no 'reason' field. Then I read all the replies and your comments and found that I needed to check the crash reports using the XCode crashers organizer. I am highlighting this for future readers: To find the 'reason' field, It is important that you analyze the crash using XCode crashes organizer. Find your crash in the organizer, right-click and then click 'show in finder. This will be an XCcrashPoint file. Open it and the reason field should be there. See attached screenshot Hope it helps. Awais
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Mar ’22