Post

Replies

Boosts

Views

Activity

Comment on CAMetalLayer.nextDrawable() is very time-consuming, take 5ms-12ms
I found set presentsWithTransaction = true will solve this nextDrawable delay....... But will crashes sometimes..... Application Specific Information: *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Modifications to the layout engine must not be performed from a background thread after it has been accessed from the main thread.' I didn't modify any layout in background thread...... Very strange...
Topic: Graphics & Games SubTopic: General Tags:
Jan ’23
Comment on How to get animation interpolation during animation?
I want invoke a method during animation,this method is in other framework not related with iOS SDK.And I need to update the value using animation interpolation.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Oct ’21
Comment on How to get animation interpolation during animation?
I know the Animator is not exist in iOS .I just want the API like this in iOS,but I didn't find that.....So I want to know how to do this😄
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Oct ’21
Comment on How to get animation interpolation during animation?
Emm calling in a loop is not what I want.....What If the animation has a curve? I just want a animation callback and get interpolation when animation updatess....
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Oct ’21
Comment on The view.layer.presentation() 's value is not accurate.
Emm my core purpose is to get current animation interpolation of blueBox, is there a animation callback for me to get this value during animation?
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Aug ’22
Comment on How to get the height of padding in UINavigationBar
Hi , Thx for your resp. But I wonder how to get this value when UINavigationBar is not on my screen? I m doing some customized UI. And I want to get this value when UINavigationBar is not on my screen. Thx😄
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Oct ’22
Comment on How to get the height of padding in UINavigationBar
Any updates?
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Oct ’22
Comment on How to get the height of padding in UINavigationBar
Is there any other system api can get this value? By not using UINavigationBar?
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Oct ’22
Comment on The view.layer.presentation() 's value is not accurate.
Any way to get animation accurate interpolation? Any updates?
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Nov ’22
Comment on CAMetalLayer.nextDrawable() is very time-consuming, take 5ms-12ms
I tried the guideline you paste here, using autoreleasePool to wrap, and using commandbuffer.present , and the nextDrawable still take much time..... I don't think I get drawable is early..... I do nothing just present it... it shouldn't take much time.....
Topic: Graphics & Games SubTopic: General Tags:
Replies
Boosts
Views
Activity
Dec ’22
Comment on CAMetalLayer.nextDrawable() is very time-consuming, take 5ms-12ms
I found set presentsWithTransaction = true will solve this nextDrawable delay....... But will crashes sometimes..... Application Specific Information: *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Modifications to the layout engine must not be performed from a background thread after it has been accessed from the main thread.' I didn't modify any layout in background thread...... Very strange...
Topic: Graphics & Games SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jan ’23