Questions tagged [xcode11]

This tag should only be used for questions specific to the usage and features of Xcode 11. Do not use this tag just because you are using Xcode to develop your app. General Xcode questions should use the non-version specific xcode tag. Use tags appropriate for the OS such as ios or macos.

Xcode 11 is year 2019 version of Apple's IDE. Made available in beta at the start of WWDC 2019 on June 3, 2019. This provides support for iOS 13, macOS 10.15, watchOS 6, and tvOS 13.

Xcode 11 supports on-device debugging for iOS 8 and later, tvOS 9 and later, and watchOS 2 and later. Xcode 11 requires a Mac running macOS 10.14.3 or later.

1314 questions
-1
votes
4 answers

How can i solve my drag-drop outlet problem?

i am trying to make an outlet from main.storyboard to ViewController.swift, but when i drag an outlet from my view in storyboard, xcode isn't showing any place where to put an outlet. How can i solve this problem? Thanks
kiwi
  • 81
  • 3
-1
votes
1 answer

keep on loading when i convert swift 4.2 to swift 5 in Xcode 11

I try to convert swift 4.2 to swift 5 using the Xcode converter. In this converter, selected all the target and submit on there. My problem is it's taking more time and it keeps on loading more than 2 hours. can you please help me how do solve this…
prabakaran iOS
  • 681
  • 7
  • 19
-1
votes
1 answer

AppStore: are optional screenshots truly optionals? [Xcode]

As of Jan 2020, some device screenshots in AppStore are optional, such as 5.8 inch, 4 inch, 3.5 inch, etc. Are they truly optional, in the sense that, if an app doesn't provide screenshots for these devices, the app will get ranked lower when users…
user1615898
  • 1,185
  • 1
  • 10
  • 20
-1
votes
1 answer

Terminating app due to uncaught exception 'NSInternalInconsistencyException' in iOS 13.2

I was running an app on iPhone XR with iOS Version 13.2 using XCode 11.2 and the app crashes with reason. reason: 'The return values of -viewForFirstBaselineLayout and -viewForLastBaselineLayout must be in the receiver's subtree I tried…
Mayur Gajra
  • 8,285
  • 6
  • 25
  • 41
-1
votes
1 answer

Xcode: change Object from Exit to View Controller

I have an issue when I dragging and dropping from Assistant Editor to code button that button has automatically set Object to Exit but I need to set to View Controller. The issue is in the picture below. Is there any solution to solve it? Issue in…
-1
votes
1 answer

In App Purchase with fingerprint or Face ID in Objective-C

I have an Objective-C Project which I am working using Xcode 11 and I am trying to implement In-App Purchase. I used some tutorials and implemented successfully but I am not able to use Fingerprint or Face ID. Please find the Image Url below in…
Akhil
  • 93
  • 7
-1
votes
1 answer

UIButton not animating the first time being pressed

So I have a button that when pressed, will animate/unhide 3 other buttons and vice versa when pressed again. The animation works perfectly fine everytime BUT the first time being pressed. Not sure why it's not working the first time as it stopped…
-1
votes
1 answer

UITableView Cells not showing properly

I've made a table view, and I have a prototype cell that has a height of 100, which I set in the IB. However the cell displays as the original cell height that the prototype cell is set to by default. It should be noted that the table view is…
Max S.
  • 455
  • 1
  • 5
  • 10
-1
votes
1 answer

iOs After Launch Screen is loaded black screen

Hey I hope someone can help me. So far I've only done the User interface of a multiview app, no coding done. And I wanted to check it in the simulator. Now, the launch Screen loads correctly, but then the screen goes black instead of showing the…
t f
  • 3
  • 3
-1
votes
2 answers

RxSwift: implementing concatMap generating Reentrancy anomaly was detected error

I'm trying to implement concatMap within RxSwift but when I tried to set a new value to the observable within the concatMap I'm getting this error: Reentrancy anomaly was detected. > Debugging: To debug this issue you can set a breakpoint in…
user2924482
  • 8,380
  • 23
  • 89
  • 173
-1
votes
2 answers

How to prevent iOS app from crashing due to empty textfields?

I need to figure out a solution to prevent the app from crashing when a value is not entered in a textfield. The idea is if the textfield is empty (nil), the value of that textfield will then equal zero. Below I have copied my code: let…
crapio99
  • 21
  • 4
-1
votes
2 answers

Make the textfiled swipe up when keyboard is used swift 5

I'm trying to make the text field txtAdd swipe up when the keyboard shows up, but I'm not really sure how to do it. This is the code for adding items to the list: @IBAction func submitBntFunc(_ sender: Any) { if let text = txtAdd.text{ …
Alison
  • 41
  • 1
  • 5
-1
votes
2 answers

Consistently show loader on back button click

I am creating a custom button for navigation back action. And on back-button click, pushing a different view controller which is not pushed. The back action working fine but the showing loader is not consistent. What is the best practice for such a…
Naresh Pawar
  • 179
  • 2
  • 3
  • 15
-1
votes
2 answers

Want to make a lookup like in pic and want the background of it to be the ViewController that i present this popup from

that is my code to present lookup let vc = self.storyboard?.instantiateViewController(withIdentifier: "EmployeeLookUpVC") as! EmployeeLookUpVC self.present(vc, animated: true, completion: nil)
Mohamed Fouad
  • 74
  • 1
  • 9
-1
votes
1 answer

Call a function while the phone is being shaken

I'm making an app that uses motionBegan to call a function. However it just call my function once when I shake my phone, then once more if I stop and shake it again. While I want to have the func active as long as I'm shaking the phone. Any ideas…
Accordeon
  • 3
  • 1