Most voted "xcode" questions
Xcode is an integrated development environment and free software from Apple Inc. for project management created for iPhone, iPad, Mac, Apple Watch, and Apple TV
Learn more…226 questions
Sort by count of
-
1
votes1
answer94
viewsError running Xcode 6 an app created in Xcode 5
I have an app that runs perfectly on Xcode 5. For update effect, I installed Xcode 6 and ran the same app (without uninstalling Xcode 5). Then I found some problems, among them: 1) The app runs only…
-
1
votes1
answer353
views -
1
votes1
answer309
viewsHow to get nearby Ceps via Geolocation or GPS on Iphone?
I’m developing an app for delivery, but I’m having trouble getting the automatic zip code through my location. Using the library Corelocation from IOS, until I get the zip code, but only the first 5…
-
1
votes1
answer158
viewsHow to perform file configuration for many Targets?
How can I configure Xcode to perform the following task: Use 1 Target as a template for other targets, and that some file/class when included or changed in this template can be referenced in other…
-
1
votes1
answer313
viewsAutomatic cell size in Swift
Hello, I have a project that has a tableview with custom cells, up to Swift 1.1 the method tableView.rowHeight = UITableViewAutomaticDimension in the viewDidLoad and the number of lines in 0, were…
-
1
votes1
answer148
viewsMinus In App Purchase (IAP) Swift Ad
I’m trying to use In App Purchase to remove ads from my app, but the ads are located in a different view than where the IAP code is. I think I’m removing in an inefficient or wrong way, because the…
-
1
votes0
answers47
viewsSend json from iphone to a Bluetooth device
I need to create an app that sends a json information (login and password) to a bluetooth device, which will query in a database and see if the login and password are correct. I have this app for…
-
1
votes1
answer64
viewsDelete Xcode Pop Ups
Hello, I have an app already made and asked me to update it.... the problem is I was asked to remove the pop-ups from the app and I can’t find anything to remove... Anyone can help?
-
1
votes1
answer37
viewsAppstore renewal
Hello, I wanted to launch an app but when I went to Apple’s Membership it said it was expired.... then I renewed and now I can’t add the application. Does anyone know how long I have to wait for my…
-
1
votes0
answers83
viewsUse Moviedb API for an objective-c application
I am a beginner in Xcode/objective-c. But I need to do a project where the user will do a search for a movie name and through the Moviedb database, the application will return the name and poster of…
-
1
votes1
answer267
views -
1
votes1
answer55
viewsProperty getting nil
I’m facing a problem that a property is getting nil unexplained. NSMutableArray * lojas = [[NSMutableArray alloc] init]; for (int x = 0; x < lojaResultado.count; x++) { NSDictionary *…
-
1
votes1
answer166
viewsTextview IOS Swift - Balloon-shaped design
Hello guys, I would like to know how I do a textView of this in Ios with Swift ? Thanks in advance for your attention.…
-
1
votes2
answers87
viewsHow to make Textview track writing
I need Textview to follow when I write because if this does not happen I end up writing under keyboard, I already gave an up in textview but it is very big and will end up being down anyway. how do…
-
1
votes1
answer368
viewsXcode projects with Images.xcassets
In iOS projects created by Xcode, you have a "folder" called Images.xcassets, i.e., an Xcode Assets catalog. In this catalog, I add an image to a UIButton for example, and this image I am required…
-
1
votes1
answer33
viewsUpdate Annotations
I need to update the map’s Annotations after inserting values into Coredata. i have the first view with the map, and a second where I add the new values for new Annotations, but only when I first…
-
1
votes1
answer356
viewsNo Xcode components in the simulator?
I have a problem with xCode in the Swift. Suddenly you don’t want to appear in the simulator new components that I include in viewController. For example: If I put a simple button on screen, when…
-
1
votes3
answers1300
viewsError 400 when calling a. net service in the iOS app - How to resolve?
I need to access a webservice of my app. I took an example in stackoverflow to access the service http://www.cgsapi.com/CGSWebService.asmx. Below is the source code to access the service. The…
-
1
votes1
answer316
viewsRemove Core Data from an Xcode project
I started an app development using Core Data in the course of the development of the project I have been observing that the Core Data is not the best for the app. Within this scenario, I would like…
-
1
votes1
answer124
viewsCustom components
Is there any way to create custom components/screens with some components already loaded? For example, create a UIViewController customized, with some standard elements in it. But in a way that can…
-
1
votes1
answer76
viewsTextview with dynamic height
I wonder how I do to leave mine UITextView with the dynamic height, something like the Whatsapp. I need as the text is typed the same increase alone. Thanks in advance for your attention.…
-
1
votes1
answer32
viewsError while compiling code using MP3 lib converter libmp3lame.a
Someone could help me, I’m having a problem running my app on Iphone 6 I use a library to convert audio to mp3 call libmp3lame.a, but I can’t compile, follow the Warning. ld: warning: ignoring file…
-
1
votes1
answer151
viewsUpload photos IOS Swift
I have an application where I need to upload some photos to a server, when I upload a single photo works all right, now if it is two or more photos takes expressive time to complete the operation. I…
-
1
votes1
answer269
viewsHow to keep the user authenticated?
I’m using Alembic to send the authentication request like this: let user = "user" let password = "password" Alamofire.request(.GET, "https://httpbin.org/basic-auth/\(user)/\(password)")…
-
1
votes2
answers78
viewsWhy is my request blocking events?
I implemented a json http request that works well, but it prevents the user from clicking by being able to access the information only when it is downloaded. Example: I have a Uitableview with 3…
-
1
votes0
answers38
viewsIOS - How do app send notifications when closed?
I wonder how I can perform an action, such as a notification for example, with the app closed. Like when you’re not using your phone and get a message notification from Facebook or a game for ex. I…
-
1
votes1
answer92
viewsHow can I do in Xcode the java code mentioned in the question?
This class on Android when enabled, I can close the app that keeps it running and keep Cell’s screen lit this way Keep the screen on: PowerManager pm = (PowerManager)…
-
1
votes2
answers230
viewsIOS - Prevent the keyboard from hiding Text Field?
Whenever I click on Text Field, the keyboard goes up hiding it on the screen, I would like to know a way to make Text Field go up with the keyboard, I tried to use a Scroll View but could not.…
-
1
votes2
answers185
viewsIOS - How to program the navigation between Viewcontroller direct in viewDidLoad?
I want to navigate between the Viewcontroller of an app by clicking a button and switching from one to the other for example. I wanted to run this directly in the viewDidLoad of Viewcontroller1, if…
-
1
votes0
answers87
viewsUndefined Symbols for Architecture i386: "_Rklogcoredataerror"
Good morning, whenever I’m trying to accomplish the build of my application, on the stage of Linking the error of Undefined Symbols for Architecture Follow the error with more details: Undefined…
-
1
votes1
answer189
views'The number of view controllers provided (2) doesn’t match the number required (1) for the requested Transition'
I’m using TabBarController and I get this mistake : The number of view controllers provided (2) doesn’t match the number required (1) for the requested Transition When I exit the home screen and…
-
1
votes1
answer262
viewsPublishing app in Apple Store
When I sent the app to the Apple Store, I received the email: Missing Info.plist key - This app Attempts to access Privacy-sensitive data without a Usage Description. The app’s Info.plist must…
-
1
votes1
answer112
viewsUicollectionview in 2 columns
Fellas, I got a IUCollectionView that this presenting of the data in 3 columns, as I could do to show only 2 with a centralized image?…
-
1
votes1
answer53
viewsCreate custom map using corelocation
I wonder if there is a way to insert a map made by you and not google maps. I am trying to create an indoor application Location and I have to insert a plant instead of google maps. Anyone there…
-
1
votes1
answer711
viewsCommand to comment multiple lines in the Xcode?
Hello Is there a shortcut for commenting multiple lines in the Xcode? I mean, I use it today /*...*/, but I have to go to the beginning of the block to mark the beginning and do the same until the…
-
1
votes1
answer158
viewsProblem when doing POST method on Swift
I’m with that body to make a POST to the backend '{"token":"xxxx", "extra_information": {"expires_in": xxxx, "refresh_token": "xxx", "user_id": "user_uuid", "token_type": "Bearer"}}' The parameters…
-
1
votes2
answers80
views -
1
votes1
answer116
viewsHow to adjust the height of a Uiview on Swift 3 according to subviews?
I have a Uiview with subviews, and I need Uiview to increase or decrease according to the size of the subviews, the same idea of a layout with wrap_content height. Does anyone know how to do this on…
-
1
votes1
answer151
viewsFile lost in Xcode
When I copy a Swift file and paste it from my folder, it does not appear in Xcode.…
-
1
votes2
answers123
viewsSearchbar shows right result, leads to wrong Viewcontroller
I’m putting together an app that shows managers on Page1 and their respective employees on Page2. I decided to mount a plist and press a Tableview, see: To load the plist correctly insert to…
-
1
votes3
answers160
viewsHow to put more than one pickerView in just one Viewcontroller
I’m trying to build a View that takes user data such as height, weight and age using Pickerviews. It is not returning any errors, but when I run, the Windows pickers only have a question mark,…
-
1
votes1
answer138
viewsHow do I get my app to login to a Swift 4 webview website?
import UIKit import WebKit class ViewController: UIViewController, WKUIDelegate { var webView: WKWebView! override func loadView() { let webConfiguration = WKWebViewConfiguration() webView =…
-
1
votes1
answer350
viewsHow do I call a function in Swift Xcode
Good evening, I have a function that is attached to a button, I would like to call it directly without the need of the button, what I do? The function... static func goToTutorialOrTo(market: Market,…
-
1
votes1
answer164
viewsOpen new screen Swift 4
I have a webview app, after the lauchScreen it goes to the Viewcontroller where it loads the page, I have a class that checks if there is a connection, and if there is not I would like to open a new…
-
1
votes0
answers56
viewsGraph represented as list linked to list
I am trying to implement a graph with list structure linked to list by pulling the data from a txt file (input.txt). A 100 2 B 3 D 4 B 150 2 C 3 E 2 C 150 1 F 2 D 150 1 E 4 E 100 1 F 1 F 200 0 The…
-
1
votes2
answers79
viewsAction after back background application
I have a webview on android that always checks if there is internet when returning from the background checking if the connection status has been changed if it is offline the app sends the user to a…
-
1
votes1
answer60
viewsRemoving the Dictionary object on condition - Firebase - Swift
In my App I need to list information registered by the user, there is an "enable" field where "on" will not be displayed in the tableViewController, if "yes" will list, code below for help. First…
-
1
votes2
answers46
viewsReload Data in Uitableview using Firebase
I’m using a custom table that retrieves data from Firebase. But it only updates, new data, if I close the app and open again, even if entering the reloadData() on the table. Example: The table is…
-
1
votes2
answers170
viewsHow to open Waze and navigate by address
Good night, you guys How do I open Waze in the app and set the address via string (I want to navigate directly by address, not by coordinates) Right now, I’m doing it this way: func…
-
1
votes1
answer59
viewsParse json with struct, error passing to array - Swift 4.0
I have an error with Swift 4.0 in parse Json, I am using struct Decodable to receive json, I am new in Swift I work with objective-c. struct dataInativa: Decodable { let dia_data:String }…