Search results for

show when run

112,715 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
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.8k
Sep ’22
Show a UIMenu on double-tap?
Is there a way to programmatically show a UIMenu on iOS on a double-tap event? I have an app that's been around for over a decade, so there are some UX patterns that I'm reluctant to mess around with. There is a view in my app with the following properties: Tapping the view once focuses it and brings it to the front Double-tapping it shows a view controller as a sheet, with several operations you can perform on that object Instead of the sheet, I'd like to move to context menus - they look better, and they're more familiar for users. Obviously, adding a context menu for long-press is straightforward (just use UIContextMenuInteraction). But there does not seem to be a way to show the context menu on double-tap. I've discovered that you can use UIButton with showsMenuAsPrimaryAction to show the menu on single-tap, but that doesn't quite work for me. My users expect a single tap to do something else (focus the view) and will be annoyed if single taps start showing men
Topic: UI Frameworks SubTopic: UIKit Tags:
1
0
990
Jun ’24
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
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
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
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
661
Oct ’16
Showing deallocations in an interval?
Is there any way, in Instruments, to figure out what allocations were deallocated in an interval? I'd like to highlight a section of the allocations timeline, and then see only the blocks that were deallocated during that interval (for bonus points, show only blocks that were allocated before that interval, but deallocated during that interval).I don't see an obvious way to do this. Thanks!
0
0
381
Jun ’17
USDZ file not showing in Reality Composer but shows in viewer
I converted a fbx file to USDZ using Reality Converted. This seemed to work and I can double click in the USDZ file and a Xcode view pops up and shows the file/object with out a problem. But when I go to Reality Composer and try to import this USDZ I can see it added to the import list under + (add) and I can see it drag to the scene, but when I release everything disappears and I see nothing in the scene. How can I figure out what happen. Is there a console view I can bring up. Is there a way to list all the objects in the scene?
1
0
1.5k
Mar ’22
Will not run
Hi i am very new to coding... code x will not even run the text which is already typed in by default also if i use print command. it says on the top it is running my playground but it never stops loading. can someone help?
1
0
571
Apr ’18
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