Post

Replies

Boosts

Views

Activity

Reply to UIViewcontroller.present crashing iOS 14.4
When you say replacing with something new created with the latest Xcode, are u saying to create a new xib from scratch and build the views to mimic the previous xib? if this is the case , no I haven't tried that yet .  Better try it as soon as possible. You have no need to mimic the previous xib, just need enough definitions to test if it causes the same crash or not.
Topic: UI Frameworks SubTopic: UIKit Tags:
Mar ’21
Reply to display map
 I created a file named MapViewController.swift it still starts the ContentView.swift Seems you created two different types of codes, UIKit and SwiftUI. Are you using MKMapView in MapViewController? Is MapViewController a subclass of UIViewController? In SwiftUI, you usually use Map, do you have any View (not UIViewController) using Map? You should better show your code.
Topic: App & System Services SubTopic: Core OS Tags:
Mar ’21
Reply to Graphical Issue
I don't believe there is anything wrong with the code but Xcode. I do believe there is something wrong with your code. Why have you changed line 23 and 24 from the original code? x: width * segment.line.x + xOffset, y: height * segment.line.y If you want to modify some points, all other points needs to be modified consistently. Only modifying this part is making your shape broken.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Mar ’21
Reply to Adding png to ImageView causes black screen
My Main.storyboard has a png background that works. When I change it to instead use the desired Launch Screen.png it also works, proving that the Launch Screen.png is good to use. Can you clarify how many images do you use? a png background in Main.storyboard, Launch Screen.png and IMG_1486.png? Without precise description of what you have done, readers cannot find what's wrong.
Mar ’21