Search results for

“show when run”

117,514 results found

Post

Replies

Boosts

Views

Activity

Reply to Xcode, #include stdio.h
Command-line tools are executed in terminal.Indeed. Or you can choose Product > Run in Xcode to run it from within Xcode, in which case your see the output in the debug area (if it’s not visible, choose View > Debug Area > Show Debug Area to show it).Share and Enjoy — Quinn The Eskimo! Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1 + @apple.com
Topic: Programming Languages SubTopic: General Tags:
Oct ’15
Cell only shows and hides once; and then not able to show again
Hello, I'm trying to display/hide a UIDatePicker embedded in a UITableViewCell. My intention is that the datePicker will start hidden. Then when the user selects the startDate label in the cell above the date picker, the cell's row hight will adjust, making the datePicker visible. Then when the user taps the startDate label again, the datePicker hides. They should be able to do this indefinitely. In this code, the datePicker starts out hidden (as intended), shows when the user selects the StartDate label (as intended) and then hides when the user selects the startDate label again (as intended). However, if the user tries to show the datePicker for a 2nd time, nothing happens. video link: https://youtube.com/shorts/blu1OCBOCiE?feature=share class AddEditLogbookTableViewController: UITableViewController { @IBOutlet var nameTextField: UITextField! @IBOutlet var descriptionTextField: UITextField! @IBOutlet var startDateLabel: UILabel! @IBOutlet var startDateDatePicker: UIDatePicker! var logbook:
1
0
505
Dec ’21
UITextField wrongly shows multiple lines
Xcode Version 11.0 beta 2 (11M337n)iOS Simulator Version 11.0 (SimulatorApp-895.6 SimulatorKit-553.12 CoreSimulator-643.11)or iOS 13 Devices- Create a UITextField in storyBoard, with all default settings- add autolayout constraint to that textField, such as width 100pt, height 60 pt.- input a long text, make sure text width will be bigger than textField width constraint- then run with iOS 13 simulator or iOS 13 devices.Expect: textField shows text in one line, and with ... at the endActually: textField shows multiple linesDemo project:https://github.com/zhangjirui/IOS13UITextFieldTest
1
0
2.0k
Jun ’19
Reply to tvOS Simulator?
I'm having the same problem. Creating a new project for tvOS shows the Apple TV simulator as a run destination, but when I try to set up an existing project to use the tvOS SDK the Apple TV simulator doesn't show up as an option.
Topic: App & System Services SubTopic: Core OS Tags:
Sep ’15
i have installed macOS sierra developer preview on my macbook Air. Now my macbook air is Crash .It is showing me Internal error : An uncaught exception was raised.Choose "continue" to continue running in an inconsistent state
I am an ios Developer and i have installed macOS sierra developer preview on my macbook Air. Now my macbook air is Crash .It is showing me Internal error : An uncaught exception was raised.Choose continue to continue running in an inconsistent state
5
0
1.9k
Aug ’16
UIBezierPath *not* showing?
I am developing a game in which my Locomotive is following a UIBezierPath that mimics an oval shaped Track. The math of the following is not adding up .. if it is, I am obviously not understanding the math of the layout. Bottom line = the following code does not display the UIBezierPath. Here's the code that creates this UIBezierPath .. please note the math in the comments: func createTrainPath() { trackRect = CGRect(x: 0.0, y: 0.0 - roomHeight/2 + tracksHeight, width: tracksWidth, height: tracksHeight) // trackRect = (0.0, -207.0, 940.0, 476.0) // portrait // trackRect = (0.0, -274.0, 470.0, 238.0) // landscape print(trackRect = (trackRect!)) trackPath = UIBezierPath(ovalIn: trackRect) let theTrackShapeNode = SKShapeNode(path: trackPath.cgPath, centered: true) theTrackShapeNode.zPosition = 100 // for testing theTrackShapeNode.position = myTracks.position theTrackShapeNode.lineWidth = 4.0 theTrackShapeNode.strokeColor = SKColor.blue if let ourScene = GameScene(fileNamed: GameScene) { print(here) // this shows
3
0
745
Dec ’23
How to show SwiftUI PhotosPicker programatically
Hi I would like to show the PhotosPicker programatically the same way we can do with sheet(isPresented: Binding) and fullScreenCover(isPresented: Binding), i.e. I would like: photosPicker(isPresented: Binding, selectedItem: Binding). This would allow me to have multiple buttons that show the picker and would make all my code that shows sheets consistent, thanks for reading.
2
0
2.9k
Sep ’22
Reply to 15A226f Won't Update
This worked for me. After running the terminal command, the App Store immediately started showing updated. App Store went through the process of updating to Beta 3, three times in a row, until Beta 4 showed up and updated successfully.
Topic: App & System Services SubTopic: Core OS Tags:
Jul ’15
LaunchScreen doesn't show on simulator in Xcode 12.4
I just upgraded to Xcode 12.4, created a project using the app template, without SwiftUI, I chose Storyboard instead. I placed a small image on the LaunchScreen.storyboard, and an NSLog output in my ViewController. When I run the app on the simulator, the LaunchScreen does not, show, and I do get my NSLog output. So I know the app is running. When run this bare app on my physical iPhone X...I do get the launch screen. So I opened a game app I started under Xcode 11.x. It will show the LaunchScreen on both simulator and my device. I've checked that Launch screen interface file base name is set to LaunchScreen in Info.plist. It's also set under App Icons and Launch Images. Is this some bug?
5
0
2.7k
Feb ’21
homekit not showing on apple tv
With the latest beta of TVos the homekit option doesn't show under icloud. Hence I can't connect any homekit devices using the Apple TV 4 as a homekit hub.If I setup my ipad running ios 10.1 beta 4 I can see and use the ipad as a homekit hub.Any idea on how to get the Apple TV 4 as a homekit hub?
0
0
676
Oct ’16
Reply to Xcode, #include stdio.h
Command-line tools are executed in terminal.Indeed. Or you can choose Product > Run in Xcode to run it from within Xcode, in which case your see the output in the debug area (if it’s not visible, choose View > Debug Area > Show Debug Area to show it).Share and Enjoy — Quinn The Eskimo! Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1 + @apple.com
Topic: Programming Languages SubTopic: General Tags:
Replies
Boosts
Views
Activity
Oct ’15
Show detail segue
When using the show detail segue I still get navigation links back to the previous view. This does not seem right to me. I was expecting no links back to the previous view. (Using xcode 8 and El Capitan GM Seeds)
Replies
0
Boosts
0
Views
345
Activity
Sep ’16
Cell only shows and hides once; and then not able to show again
Hello, I'm trying to display/hide a UIDatePicker embedded in a UITableViewCell. My intention is that the datePicker will start hidden. Then when the user selects the startDate label in the cell above the date picker, the cell's row hight will adjust, making the datePicker visible. Then when the user taps the startDate label again, the datePicker hides. They should be able to do this indefinitely. In this code, the datePicker starts out hidden (as intended), shows when the user selects the StartDate label (as intended) and then hides when the user selects the startDate label again (as intended). However, if the user tries to show the datePicker for a 2nd time, nothing happens. video link: https://youtube.com/shorts/blu1OCBOCiE?feature=share class AddEditLogbookTableViewController: UITableViewController { @IBOutlet var nameTextField: UITextField! @IBOutlet var descriptionTextField: UITextField! @IBOutlet var startDateLabel: UILabel! @IBOutlet var startDateDatePicker: UIDatePicker! var logbook:
Replies
1
Boosts
0
Views
505
Activity
Dec ’21
UITextField wrongly shows multiple lines
Xcode Version 11.0 beta 2 (11M337n)iOS Simulator Version 11.0 (SimulatorApp-895.6 SimulatorKit-553.12 CoreSimulator-643.11)or iOS 13 Devices- Create a UITextField in storyBoard, with all default settings- add autolayout constraint to that textField, such as width 100pt, height 60 pt.- input a long text, make sure text width will be bigger than textField width constraint- then run with iOS 13 simulator or iOS 13 devices.Expect: textField shows text in one line, and with ... at the endActually: textField shows multiple linesDemo project:https://github.com/zhangjirui/IOS13UITextFieldTest
Replies
1
Boosts
0
Views
2.0k
Activity
Jun ’19
Do i have to show the price of an in app purchase?
Hello, I am having some troubles on showing localized price. Can i just show a Subscribe button to users? Is it infringing Apple guidelines? Thanks in advance
Replies
1
Boosts
0
Views
526
Activity
Jul ’20
Reply to tvOS Simulator?
I'm having the same problem. Creating a new project for tvOS shows the Apple TV simulator as a run destination, but when I try to set up an existing project to use the tvOS SDK the Apple TV simulator doesn't show up as an option.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Sep ’15
i have installed macOS sierra developer preview on my macbook Air. Now my macbook air is Crash .It is showing me Internal error : An uncaught exception was raised.Choose "continue" to continue running in an inconsistent state
I am an ios Developer and i have installed macOS sierra developer preview on my macbook Air. Now my macbook air is Crash .It is showing me Internal error : An uncaught exception was raised.Choose continue to continue running in an inconsistent state
Replies
5
Boosts
0
Views
1.9k
Activity
Aug ’16
App not showing in Window>Organizer
I just completed updating a legacy app to run on newer IOSs using Xcode. I want to submit my updated app, but when I run archive the build is successful, but my app only shows in the other items section in the organizer. Please help a legacy programmer/school teacher learn new tricks.
Replies
1
Boosts
0
Views
2.9k
Activity
Jul ’20
UIBezierPath *not* showing?
I am developing a game in which my Locomotive is following a UIBezierPath that mimics an oval shaped Track. The math of the following is not adding up .. if it is, I am obviously not understanding the math of the layout. Bottom line = the following code does not display the UIBezierPath. Here's the code that creates this UIBezierPath .. please note the math in the comments: func createTrainPath() { trackRect = CGRect(x: 0.0, y: 0.0 - roomHeight/2 + tracksHeight, width: tracksWidth, height: tracksHeight) // trackRect = (0.0, -207.0, 940.0, 476.0) // portrait // trackRect = (0.0, -274.0, 470.0, 238.0) // landscape print(trackRect = (trackRect!)) trackPath = UIBezierPath(ovalIn: trackRect) let theTrackShapeNode = SKShapeNode(path: trackPath.cgPath, centered: true) theTrackShapeNode.zPosition = 100 // for testing theTrackShapeNode.position = myTracks.position theTrackShapeNode.lineWidth = 4.0 theTrackShapeNode.strokeColor = SKColor.blue if let ourScene = GameScene(fileNamed: GameScene) { print(here) // this shows
Replies
3
Boosts
0
Views
745
Activity
Dec ’23
How to show SwiftUI PhotosPicker programatically
Hi I would like to show the PhotosPicker programatically the same way we can do with sheet(isPresented: Binding) and fullScreenCover(isPresented: Binding), i.e. I would like: photosPicker(isPresented: Binding, selectedItem: Binding). This would allow me to have multiple buttons that show the picker and would make all my code that shows sheets consistent, thanks for reading.
Replies
2
Boosts
0
Views
2.9k
Activity
Sep ’22
Reply to 15A226f Won't Update
This worked for me. After running the terminal command, the App Store immediately started showing updated. App Store went through the process of updating to Beta 3, three times in a row, until Beta 4 showed up and updated successfully.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jul ’15
Reply to NavigationSplitView sidebar Links not working after navigating back
I am actully confused why there is no collapse button to show/hide the sidebar in NavigationSplitView. Tutorials show it but when i copy the code and run it, there is no collapse button. Only the navigation links are shown full width and height. the detail view is nowhere to be seen.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Nov ’22
command "dsconfigad -show" not returning any output
Whenever I am trying to run the command dsconfigad -show, it is not returning anything. But I can see that I am connected to a domain in enterprise connect. My Mac version is Monterey(version 12.2). Can anyone solve this issue. Thanks in advance.
Replies
0
Boosts
0
Views
986
Activity
Feb ’22
LaunchScreen doesn't show on simulator in Xcode 12.4
I just upgraded to Xcode 12.4, created a project using the app template, without SwiftUI, I chose Storyboard instead. I placed a small image on the LaunchScreen.storyboard, and an NSLog output in my ViewController. When I run the app on the simulator, the LaunchScreen does not, show, and I do get my NSLog output. So I know the app is running. When run this bare app on my physical iPhone X...I do get the launch screen. So I opened a game app I started under Xcode 11.x. It will show the LaunchScreen on both simulator and my device. I've checked that Launch screen interface file base name is set to LaunchScreen in Info.plist. It's also set under App Icons and Launch Images. Is this some bug?
Replies
5
Boosts
0
Views
2.7k
Activity
Feb ’21
homekit not showing on apple tv
With the latest beta of TVos the homekit option doesn't show under icloud. Hence I can't connect any homekit devices using the Apple TV 4 as a homekit hub.If I setup my ipad running ios 10.1 beta 4 I can see and use the ipad as a homekit hub.Any idea on how to get the Apple TV 4 as a homekit hub?
Replies
0
Boosts
0
Views
676
Activity
Oct ’16