Search results for

build disappears

49,423 results found

Post

Replies

Boosts

Views

Activity

NSView content disappears before animation starts on Sonoma
Note: This does not happen on MacOS 13 and older. I have a NSView (parent) and multiple subviews (child nsviews). When I animate the frame of the subviews ex: [[view animator] setFrame:frame] to move them outside the parent view's frame, the contents of the subviews disappear/clipped before the animation starts. This started happening after installing Sonoma. I tried setting clipsToBounds to false and it did not make any difference. Is anyone else seeing this behavior in Sonoma? Why does appkit clip the contents before the animation starts? Is there a way to switch it to clip after animation ends ?
Topic: UI Frameworks SubTopic: AppKit Tags:
0
0
475
Dec ’23
Coredata and swift: relation between objects disappears
I have a relation between 2 objects that works fine. I create it and then I try to fetch one object from the other object (with the relation) and it works. But after a certain time this relation stops working and trying to get one object from the other gives mean error (with exactly the same code). I'm trying to see where this happens exactly but there isn't a particular part of the code where this relation is forgotten. Sometimes is in one line and sometimes in another different line. The relations are shown in the image. The entities that I'm using are TopicData and WordData, so just a one-to-many relation. I have no constraint attributes and codegene for all entities is Manual/None. After finishing the core data file, I have created NSManagedObject subclasses for all the entities. And in these subclasses I have added some functions to fetch objects. My question is why could it happen that relations disappear. I wonder if it could be related to the core data codegen and creating my own functions in
1
0
605
May ’22
SKOverlay did not disappear normally after calling the dismiss method
After the 'present' method is called in SKOverlay, the system will first load the SKOverlay and do the present animation after loading is complete. However, the user may leave the page during the loading process. At this time, we will call the 'dismiss' method (at this time, SKO may not have appeared, or SKO may be doing the appearance animation). According to my online statistics, there are some situations. a. SKO did not display (this is as expected) b. SKO suddenly appeared quickly and then disappeared after leaving the page for a while c. SKO displayed after leaving the page and did not disappear automatically. Do we have a way to completely solve problems b and c? Why can't dismissOverlayInScene completely stop the previous SKO's present task now? I would greatly appreciate it if I could get more information here to deal with this problem.
1
0
516
Apr ’24
AVPlayer disappeared When entering the foreground mode after entering the background mode.
AVPlayer disappeared When entering the foreground mode after entering the background mode. It works correctly when playing .mp4 files, but this issue occurs when playing .m3u8 files. This problem occurs in iOS 14 but not iOS 13. After AVPlayer play correctly, it is paused when entering the background mode. When entering the foreground mode, the AVPlayerLayer disappeared, and only a black screen is displayed. This happens with both AVPlayerLayer and AVPlayerViewController.
2
0
1.5k
Dec ’20
Why does PKToolPicker disappear when blur and doesn't come back
When using PKCanvasView and PKToolPicker in a SwiftUI project using Xcode 13, the PKToolPicker disappear when I blur the view, and it doesn't come back when I remove the blur effect. I am trying to create a popup (to add some setting to the view), but here I simplify the example to just just to see the consequences of the blur effet. When the blur effect is applied, the PKToolPicker disappear, but when I remove the effect, the PKToolPicker despot come back, so it is still possible to right non the PKCanvasView, but it is not possible to change the Pencil or the color anymore. Does anyone know how to get the PKToolPicker back? here is a sample code import SwiftUI struct ContentView: View { @Environment(.managedObjectContext) private var viewContext @State private var isBlured = false var body: some View { VStack { Button(action: { isBlured.toggle() print(isBlured (isBlured)) }, label: { Image(systemName: questionmark) }) DrawingView(id: nil, data: nil, title: test).blur(radius: isBlured ? 30
1
0
907
Mar ’22
UITableViewCell SHADOW disappear while updating by insertRow, then appear back
Shadow disappear on all cells of this type inside tableView once I do insertRow(at:) or deleteRow(at:) in BatchUpdates. Once animation completed shadow appears back for all cells. Any ideas how to keep shadow while insertRow(at:) animates?class PlaceholderCell: UITableViewCell { override init(style: UITableViewCell.CellStyle, reuseIdentifier: String?) { super.init(style: style, reuseIdentifier: reuseIdentifier) backgroundColor = .white selectionStyle = .none layer.shadowColor = UIColor.black.cgColor layer.shadowOffset = CGSize(width: 0, height: 10) layer.shadowRadius = 10.0 layer.shadowOpacity = 0.5 layer.masksToBounds = false clipsToBounds = false } required init?(coder: NSCoder) { super.init(coder: coder) } }
Topic: UI Frameworks SubTopic: UIKit Tags:
2
0
2.7k
Mar ’20
Grand-Child disappear when load content
In my app is the first screen is a list with projects. On press a list-item navigate to detail-View of the project. On the project detail view is a option to load more content (from the project) and show it in an other detail view. The Content of the second detail view, will loading the content when it appears. After loading the content, the list will show for a second and than the view disappears back to project detail view. Here is some code with the same issue. How can I solve that? a video can find here: https://drive.infomaniak.com/app/share/374081/ba9ba6ea-baa6-461d-af61-193b17ffa066 import Foundation import SwiftUI //Item struct, just for testing struct Item: Equatable, Identifiable { var id = UUID() var text: String var isDone: Bool } //simulate the datasource for my app class DataSource: ObservableObject { @Published var content: [Item] = [] @Published var detailContent: [Item] = [] init() { self.content = [Item(text: Hello, isDone: false), Item(text: Hello, isDone: false), Item(text: Hello,
0
0
264
Feb ’22
Reply to UIButton Background Color
Just tried dragging a UIButton into the storyboard (xcode 7.1.1) and setting the background image in the storyboard, the label does disappear but then if I build and run in the simulator the label is visible. Looks like a bug with interface builder. If in the storyboard you then set an image aswell and then remove it the label then appears in the storyboard, looks like it's radar time.
Topic: App & System Services SubTopic: Core OS Tags:
Nov ’15
TabBar embed in Navigation Controller, Back button does not disappear
I have my views organized as below:Nav Contr -> View Contr -> Tab Contr -> View Contr -> View ContrI try to add the Back button adding in each View Controller and also the TabViewController a combination and at some point even all of the commands:self.navigationItem.leftBarButtonItem = nil self.navigationItem.hidesBackButton = true self.navigationItem.backBarButtonItem = nil self.navigationItem.setHidesBackButton(true, animated: false) self.navigationItem.setLeftBarButtonItem(nil, animated: false)The best result I had was where the back arrow disappeared and the buttoned seemed not to be functional however I cannot make the world BACK go away.The very little code and the application is setup in swift 1.2If you google for TabBar embed in Navigation Controller, Back button does not disappear you will find my post on stackoverflow where I post screenshots and my github with my code. I had to remove the link from here as otherwise the post would never get reviewed.Thanks in advance!
Topic: UI Frameworks SubTopic: UIKit Tags:
1
0
2.1k
Sep ’15
SwiftUI - scrollTo Animation Disappears
In the following code snippet, I use proxy.scrollTo() to scroll to a target. In order to animate the scrolling process, I wrapped this function call inside withAnimation. This code works on iOS 16, but on iOS 17, it scroll without any animation. Is this a bug or is there an API change? Thanks! import SwiftUI struct ScrollTest: View { var body: some View { ScrollViewReader { proxy in List { Button(Begin Scroll) { withAnimation { proxy.scrollTo(15, anchor: .top) } } ForEach(1..<50) { i in Text(Item (i)) .id(i) } } } } }
4
0
2.1k
Aug ’23