Most voted "ios" questions
iOS is the mobile operating system of Apple Inc. originally developed for iPhone, iPod Touch, iPad, Apple Watch and Apple TV (from 2nd). Much of it is shared with OS X, but is optimized for touch-based interfaces. Use this tag when the question is specific to iOS and no other operating system.
Learn more…794 questions
Sort by count of
-
0
votes1
answer142
viewsHow to use a user’s information in the mysql database on a label? iOS
I’m developing an iOS app that connects to the mysql database and logs in the user using the email and password information, this part is working well. Now I’m wanting to take other information from…
-
0
votes1
answer403
viewsFatal error: unexpectedly found nil while unwrapping an Optional value
I got the following error message: Fatal error: unexpectedly found nil while unwrapping an Optional value In the following code snippet: // Lê uma coluna do tipo String no (BANCO DE DADOS) func…
-
0
votes1
answer181
viewsHow to load data from a specific mysql user in Xcode?
My code is working, I’m getting the data I need, but I have to write the email of the user who wants the data in my php file. I wanted to receive user data that email is typed into a textField in my…
-
0
votes1
answer171
viewsOpen PDF on iOS mobile using Xamarin - C#
Does anyone know how to open a PDF that is in the local iOS folder using the Xamarin platform? I have researched and tested several ways, but none works.
-
0
votes2
answers106
viewsXcode cannot find button
I created a button on storyboard to connect to a viewController. When clicking on the button occurs the error: thread 1:Signal SIGARBT What could be causing such a mistake? I’ve seen many tutorials…
-
0
votes1
answer216
viewsHow to use Last.fm API?
I need to make an iOS app that works with Last.fm API and it all starts out by making a request to authenticate the user. My question is: how do I do it with Swift. I’m a beginner, so I don’t quite…
-
0
votes0
answers88
viewsHow to get data in a web service when receiving a push Notifications with application in idle state
I have an application that when receiving a push notification needs to connect to my web service to get relevant data for the user. When the application state is active or in the background it can…
ios swift apple-push-notification push-notificationasked 9 years, 4 months ago João Paulo Alencar 1 -
0
votes1
answer46
viewsBasic authentication using Afnetworking
How can I do a basic HTTP authentication using Afnetworking in Objective - C ?
-
0
votes1
answer224
viewsGet my location through reverseGeocodeLocation
I would like your help to solve a problem, I have a delivery system that gets my location using GPS, I’ve been reading something about "reverseGeocodeLocation", but I get only one result but it’s…
-
0
votes1
answer681
viewsHow to browse different screens in Swift using the didSelectRowAtIndexPath method?
I need you to click on one of the positions of array, the same goes for a specific screen. didSelectRowAtIndexPath method shows black screen and not the screen it should. Follow the code I made…
-
0
votes0
answers271
viewsPlay function does not work in iOS browser
These functions below are from the Youtube API for viewing videos. It’s working on all browsers. But when I open the site on iPhone and click on PLAY to start the video, it doesn’t perform the…
-
0
votes0
answers63
viewsPlay Audio - iOS Plays No Sound - Delay in Sound Output
I have this function to load, remove, startar and pause the audio. media = (function(){ return{ create : function(name, src){ mediaData[name] = new Audio(); mediaData[name].src =…
-
0
votes1
answer48
viewsAdd Uitabbarcontroller without storyboard
How do I add a Uitabbarcontroller with Uinavigationcontroller, but I would like to add in a second view, because I have the login start screen and I would not like to display the tabbar in that…
-
0
votes1
answer186
viewsInvoke touchInside method via SWIFT programming
Good evening guys, my doubt can be simple for many more I’m having a little trouble to solve the same. Come on !!! I created a button (Uibutton) and would like to know how I invoke an action when it…
-
0
votes1
answer50
viewsFactory of objects related to local persistence on SWIFT
In the application I am developing using Swift, I need to have access to a locally persisted data entity, this entity will be built through a Factory based on data obtained probably by a request and…
-
0
votes1
answer200
viewsIntegrate fb into Ios Swift
Good afternoon people all good ? I wonder if by integrating fb sdk into my Ios Swift project I have access to his friends list ? And taking advantage of the question, would anyone have any tutorial…
-
0
votes1
answer72
viewsInterrupt a chain of actions on SWIFT
I am developing a simple application with two screens, uama authentication and another for a second process, this application is for IOS using the SWIFT language. When using Storebord to define the…
-
0
votes1
answer37
viewsUipicker view of array
Good night people... I have the following problem : I need to insert a Picker view into my application, this Picker view receives the data from an array, and when the user clicks on a button an…
-
0
votes2
answers208
viewsLabel Position - Swift IOS
Good evening folks. How do I leave the label that is informing the current weight positioned below the progress bar cursor ? To make this progress bar I am using Gradientslider…
-
0
votes1
answer31
viewsAccess button text
Everybody, good afternoon to you... I have the following, I need to know the title that is on a button , as if it were . text , to define use setTitle , but to know what the name ? Thank you
-
0
votes1
answer31
viewsAccess global var
I have the following problem: I have the following code var myGlobal : String func nomeDaFuncao () { // Preciso acessar a global myGlobal = "fff" } How can I access the global within a function or…
-
0
votes1
answer46
viewsAmendments with IOS 9
I was programming using the language Objective-C and when the update of Xcode 7 there were some errors in the language, one of them is in the file AppDelegate.m: (NSManagedObjectContext…
-
0
votes1
answer182
viewsUpload. mp3 file to PHP server in Objective-C
How do I upload a file. mp3 on my iphone to my server using an upload page I managed to do with images but I’m not able to do with files . mp3 could someone help me? Follow the below the code I use:…
-
0
votes1
answer81
viewsHow to update Uitableview with two-dimensional array?
I’m not getting my upgrade UITableView with the data contained in Array: var linha: NSArray = [["Categoria": "Desenvolvimento para IOS", "Imagem": "swift.png"],["Categoria": "Programação orientada a…
-
0
votes1
answer93
viewsAuto layout does not work in Xcode 7
I opened my project which was in Xcode 6 in Xcode 7 and the auto layout (for different devices) is not working in the simulator. Below I put a simulator image on iphone 4s and another on iphone 6.…
-
0
votes1
answer19
viewsperformFetchWithCompletionHandler not being called into production
I’m implementing a Swift 2 app that requests an xml feed from time to time, and triggers a local notification. For that, I’m using the method performFetchWithCompletionHandler no Appdelegate.…
-
0
votes0
answers56
viewssending image or video via webservice
I have in my application a UIIMAGE attribute ( for image) and a NSURL for video, need to pass one of this information via webservice... How can I do that ?
-
0
votes2
answers74
viewsHow to recover the html displayed in a Uiwebview with Swift for IOS
When my application starts the method viewDidLoad executes a code snippet that accesses an X site, retrieves an HTML form and displays it in a Uiwebview. My problem is this, when a link is clicked I…
-
0
votes0
answers83
viewsUiwebview different access from Google
My webView perfectly accesses Google, but if I try to access another page like my site or a local address, it gets white screen. class ConectViewController: UIViewController { @IBOutlet weak var…
-
0
votes1
answer60
viewsAdobe Air iOS - Unload Swf
I wonder if it’s possible to do unload of a swf on iOS. I am currently doing an iOS project using Adobe Air and my class is as follows:: function foo() { var m_lc:LoaderContext = new…
-
0
votes1
answer92
viewsApp name does not appear after downloading from APP Store
I developed an application in APP BUILDER and published in APP STORE, but in the last update I noticed that now, when you download the application, it appears with the icon and no name on mobile…
-
0
votes1
answer140
viewsBuild for iOS and Android
I have a question about the build for iOS and Android. I recently lost the sources of an app I developed on these two platforms, but the apps are already in stores. I wondered in Apple support if it…
-
0
votes1
answer84
viewsmathematical function class (regression) in SWIFT
What class to use mathematical equations for regression? And how to plot the graph?
-
0
votes0
answers37
viewsHow to fix camera image independent of device position ? Objective - C
I’m working on an app that through the camera, it detects people’s faces in real time and swaps the face image for some mask. (Basically the Squarecam) But it only works with the device vertically…
-
0
votes0
answers50
viewsERROR: 177: when playing sound Avaudioplayer [Swift]
I’m getting this error message when I play a sound, error has always happened the first time you play the sound, in some tests there is no error and in others yes.. var beep : AVAudioPlayer?…
-
0
votes3
answers119
viewsMigrate JSON request from android to Swift
I’m having a problem migrating a code from an android app to a code in Swift. This code is responsible for authenticating the user and password of an application. I am unable to run Swift 2 on Xcode…
-
0
votes2
answers102
viewsPush notification via an array
I’m having a problem sending push notification to multiple users at the same time, I have a sending page plus it’s sending only for a single token I’d like to know how to get it to send to an array…
-
0
votes1
answer91
views -
0
votes0
answers48
viewsCorebluetooth - Send and receive a large data pack
I am developing an iOS app using only Corebluetooth, in the same application the device can be a Central or a Peripheral. Well, everything works fine, until I try to send a data packet above the…
-
0
votes1
answer231
viewsHow the Google Play Books app "blocks" books
We are developing an application similar to Google Play Books for the Institution I work with, I would like to know how the process works for the file to be "private" to the application, blocking…
-
0
votes1
answer99
viewsMonitor IOS users in real time
Someone would know how to answer me the best way to get the location of a user in real time through GPS on IOS, I’m wondering if it would be correct if I get the location of the user every 10…
-
0
votes1
answer348
viewsupload videos directly to Vimeo with URL return
Friends could help me on an issue where I’m developing an app where I upload videos to the server, but I’m having problems with video playback and storage, since these videos take up a lot of space…
-
0
votes1
answer110
viewsGet widget index on Swift
I’m trying to use the method index to know the index of an object within the array but do not know which parameter(s) to pass. My code: /// Struct that define the track model struct Track { let…
-
0
votes1
answer42
viewsQML elements on status bar
I’m having a problem when the device keyboard is shown. The elements are on top of the device’s status bar as in the images. I’ve tried using the Flickable type but does not work. Every time the…
-
0
votes1
answer77
viewsError creating class reference and concatenating methods in Swift
Good night. I have two classes and created an instance referencing the parent class calling its method and the same does not run and shows the following sentence: "Swift Expressions are not allowed…
-
0
votes1
answer300
viewsPass parameters between IOS views
Guys I have a view where I have login ways in my app, if the person choose login or register will be redirected to the same view but depends on the button that is pressed I will present a different…
-
0
votes1
answer1456
viewsHow to pass data from one Viewcontroller to another Viewcontroller
Researching on this I found some solutions, the first is to go through the prepareForSegue(), the second is to use a shared variable (global), I also saw something about using protocol but could not…
-
0
votes1
answer37
viewsSIGABRT error in Uitableview
The code below compiles but then displays the error 12main SIGABRT in the appdelegate.swift, what to do? And the tableview already linked with source date and delegate to viewcontroller. 2016-01-09…
-
0
votes1
answer309
viewsSymmetric Swift encryption
I’m new to Swift, and I’d like to encrypt a string, using some symmetric encryption algorithm so that it’s possible with the same decryption key. I would like to know how this can be done in the…
-
0
votes0
answers45
viewsWATCHOS 2 - CORE DATA - IOS
I’m trying to make a communication between the core data e o watch 2. In the iphone add a record in core data (sqlite). When you left the iphone and enter the app do watch it has to go in the core…