abbasnaqvi200
abbasnaqvi200
UIApplication.shared.windows.forEach { window in window.overrideUserInterfaceStyle = UIUserInterfaceStyle.currentMode } This code working for UIKit fine but when i go to Texture Classes like ASViewController/ASDisplayNode it stopped working If i toggle mode...
**UI Hanging Issue while using html string** DispatchQueue.global(qos : .background).async { guard let data = htmlTemplate.data(using: .utf8) else { return nil } guard let attributedString = try? NSMutableAttributedString( data: data,...
Cell are not deallocation so count of cells increasing with scroll and finally app stopped working due to memory issue.
if isSeeMore { self.sayText.truncationAttributedText = NSAttributedString(string: "...", attributes: SFAttribute.get(Attribute.themeColor, .semiBold, fontSize)) self.sayText.additionalTruncationMessage = NSAttributedString(string: "See more", attributes: SFAttribute.get(Attribute.themeColor, .semiBold, fontSize)) self.sayText.maximumNumberOfLines = 2 } else { self.sayText.maximumNumberOfLines = self.sayText.lineCount self.sayText.truncationAttributedText...
let photoImageNode = ASDisplayNode { () -> UIImageView in let view = UIImageView() view.focusOnFaces = true view.contentMode = .scaleAspectFill view.stopAnimating() return view } func setWallImage(_ url : String, media :...
Why ASTextNode is overflowing instead of truncating… HStackLayout(alignItems: .center) { img1.preferredSize(.init(width: 20, height: 20)).padding(.left, 9) img2.preferredSize(.init(width: 20, height: 20)) textNode.padding(.left, 6) } 
How to use:- OverlayLayout BackgroundLayout AspectRatioLayout AbsoluteLayout CenterLayout
Why ASTextNode is overflowing instead of truncating… HStackLayout(alignItems: .center) { img1.preferredSize(.init(width: 20, height: 20)).padding(.left, 9) img2.preferredSize(.init(width: 20, height: 20)) textNode.padding(.left, 6) } 
Video URL- https://youtu.be/5KkHLDkPcq8?si=3RPBiMBeQ1-PnH3x Video Play Error:- - _url : ytplayer://onError?data=150
2024-03-06 12:46:59.384637+0530 Explurger[2699:494528] *** Assertion failure in -[App.WallCellNode closestViewController], ASDisplayNode+Convenience.mm:19 error: Execution was interrupted, reason: internal ObjC exception breakpoint(-6).. The process has been returned to the state before expression evaluation.