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
answer51
viewsDeleted object being returned in a Core Data fetch
I have a "small" problem when using Core Data. This is my architecture: Synchronizer -> Syncservice -> Persistenceservice -> Nsmanagedobject All classes in the Persistenceservice layer…
-
0
votes1
answer547
viewsHow to create the certificates and provisioning profile correctly for use of Push Notification?
I need help creating a certificate for provisioning profile correctly to Push Notification. Because I followed several different tutorials, and in all of them I did not succeed. Only in a moment I…
-
0
votes1
answer63
viewsHow to use Uisearchbar with data from Core Data?
I’m trying to filter the name of the cells in a table, loaded with data from Core Data, but I’m having a crash. I am using the following code to filter the cell title: -(void)searchBar:(UISearchBar…
-
0
votes1
answer226
viewsHow to resolve this error by returning from web service access?
I’m developing an app that consumes data from a web service and using Afnetworking to make the requisitions. During the testing phase the app worked and received the data normally. So I exported the…
-
0
votes1
answer91
viewsHow to implement APNS server using Easyapns?
I’m trying to use Easyapns in a project for iOS 8. But due to the fact that the project is old and there are no updates for it, I’m having problems. More specifically, with respect to the server,…
-
0
votes1
answer100
viewsUitableview - Data from Disappearing Table
I own a UITableView simple. It is loaded from a .nib and added as a subview, it appears, loads the data, presents the same everything correctly, but from the moment I select a cell, the data simply…
-
0
votes1
answer186
viewsObtain latitude and longitude
I would like to know how to get latitude and longitude in iOS using Objective-C. Could someone help me? I’ve followed several examples but none displays the correct information.…
-
0
votes1
answer219
viewsProblems with listview text above icons
This happens on Android and IOS. When the store name or the store name is too big the text is on the image. And the client wants the image on the right side, and on the left side I don’t have this…
-
0
votes1
answer73
viewsAftnetworking on iOS 8.1.1 is having problems?
I recently developed an app that uses Aftnetworking 2.0 and ran tests on my physical device using iPhone 4S iOS 8.0. But customers who are with iOS 8.1.1 can not send the data of a registration.…
-
0
votes1
answer77
viewsHow to change the size of Google Map View for iOS
I’m using the Google Map SDK for iOS in a project, but when using the service by default it covers the entire screen. But I need space to add some buttons on the screen. How can I resize the map…
-
0
votes1
answer63
viewsHow to use only one music from iPod app library?
I am creating a simple alarm and would like to know how to "pick up" or "point" to a particular song chosen by the user, which is in your iPod app library. How could I store this note?
-
0
votes2
answers300
viewsRead file . xlsm (Excel) from my application
How I read a file .xlsm (excel spreadsheet) from my application? Basically I need to get the data from this spreadsheet. Get the value of each of the cells that this has. Is there anything native…
-
0
votes1
answer289
viewsHow to collect keyboard when cancel search button is clicked?
How to collect the keyboard when the cancel button is clicked on a Uisearchbar? I tried some methods and even the delegate’s methods, but it didn’t work. I’ll put up an image to be more precise: I…
-
0
votes1
answer58
viewsUiimage Temporaria
I need to download an image, it is displayed, but after displaying it I need to delete it from the device. But always when I open the app again it is already loaded. func getPhoto(pathPhoto: String,…
-
0
votes0
answers117
viewsiOS 8 - Manually changing Core Location permissions
I am developing an app for iOS 8 and require permission to CLLocationManager, but if the user does not accept the permission and tries to change in the privacy settings, the settings close at the…
-
0
votes1
answer190
viewsWebview with some problems in Swift
I got a problem Simple code: let url = "http://apple.com" override func viewDidLoad() { super.viewDidLoad() let requestURL = NSURL(string:url) let request = NSURLRequest(URL: requestURL!)…
-
0
votes1
answer181
viewsWhat’s the best way to store images in an iOS app?
I’m working on an app, and I’ve read several websites and articles about how to store images in Core Data or the app directory. But I wondered what was the best way. I would like to know, what would…
-
0
votes1
answer59
viewsHow to disable ARC for just a few project files?
I have a project using ARC but would like to add files that are not using ARC. It is possible to do this?
-
0
votes1
answer349
viewsiPhone 5 and iOS 8 - Location permissions
On all devices is OK, the request for permission to use the location appears (independent iOS 7 or iOS 8). Only iPhone 5 does not appear. Code for requesting permission: var versionString =…
-
0
votes2
answers102
viewsProblem when displaying image with Uiimageview
When displaying image included in project format .png using UIImageView to only display the simulator screen is blank. Code used: UIImage* imagemLocal = [UIImage imageNamed:@"button.png"];…
-
0
votes1
answer204
viewsXml parser in Swift
I downloaded a ready project of rss Reader, it comes title description and image. However I am trying to edit the same for my xml. see the codes: // // FeedTableViewController.swift // RSSReader //…
-
0
votes1
answer77
viewsError while using Sttwitter and Swifter
I am trying to use one of the two libraries Sttwitter or Swifter in my project but always error. In the case of Sttwitter the error is in the method call getUserTimelineWithScreenName:(NSString…
-
0
votes2
answers106
viewsDownload data in String format and JPG images
I am implementing a project, which has a Web Service. In this Web Service are saved product data, containing the fields: Name, Value, Description and Product Image. I did some tests downloading only…
-
0
votes1
answer103
viewsHow to work with 1 to 1 relationship in core data?
How do I perform operations relating entities in Core Data? These operations will relate data between 2 entities, being of type 1 to 1. I want to relate the image attribute of table 1 to the…
-
0
votes2
answers237
viewsAftnetworking with Token to download image
I’m testing Aftnetworking to download images from a backend, but I’m having errors downloading images. I tested several implementations, with this implementation presents error of content not…
-
0
votes1
answer54
viewsProblems starting Uiimage with image path from core data
I downloaded an image and stored it on disk. After downloading the class inserts the image path into the core data, this string:…
-
0
votes1
answer127
viewsHow to check empty records in Core Data?
I’m working on a way to see if the data has been downloaded and logged correctly into Core Data. Due to the poor quality of 3G connections and the possibility of failure, I would like to know if…
-
0
votes1
answer60
viewsProblems inserting new registration to Core Data
I noticed a problem with the code, when I try to insert a new record in an entity, I lose all the old records and only the new one is saved. Code used: NSManagedObjectContext * context = [self…
-
0
votes1
answer49
viewsHow to pass map data to be displayed by another class?
I’m using Google’s Maps API for iOS. I was doing some testing and I set up a UIView as a subclass of GMSMapView and kept a pointer for her in ViewController, getting: #import <UIKit/UIKit.h>…
-
0
votes0
answers91
viewsNslocalizeddescription=Expected status code in (200-299), got 401
I’m trying to log in to an application in objective-c using Restkit but when I type in the email and password it shows the following error in the console:…
-
0
votes1
answer104
viewsHow to parse a Json with 2 columns in Objective-C?
In a Get using PHP I am making the request of 2 columns this way: <?php include 'conexao.php'; header('Content-Type: text/html; charset=UTF-8'); //Converte para UTF8 os resultados da query…
-
0
votes1
answer86
viewsCore Data issue in iOS 7
I have a problem between iOS 8 and iOS 7. I am using Core Data, I have an entity called Pessoa (NSManagedObject), only when doing a data update happens a EXC_BAD_ACCESS, only that, no other…
-
0
votes0
answers41
views -
0
votes1
answer31
viewsHow to add new property to the Gmsmarker class?
Adding a new property to this class. I added it to the Gmsmarker. h file, but while trying to use the new property I received this error: -[Gmsmarker setIdRegister:]: unrecognized selector sent to…
-
0
votes1
answer193
viewsUsing the camera
I am implementing a screen that I would like to show the image of the camera, but I would just like to show the image, not with features of switching to front camera, cancel, and capture. Is there…
-
0
votes2
answers348
viewsKeyboard up before view up
As the statement says, As soon as I touch one input the keyboard goes up and then the view goes up. I’d like to know what I’m doing wrong. PS: In addition, between the keyboard and the view, there…
-
0
votes1
answer44
viewsHow to Choose position to print a string in a text?
I’m developing an app where the user can choose in the middle of a text, the position where the output value of a string should be printed. Example: Normally when we print a string in the middle of…
-
0
votes2
answers460
viewsHow to Reload Data on a Tableview without Losing Previous Data (Swift)
Hello, I have a tableview that will receive data on demand. however when I call scrollViewDidEndDragging function it has a call to tableview.reloadData() it replaces the previously loaded data. Load…
-
0
votes1
answer265
viewsXcode function library (Objective-C)
I need to create a function library in Objective-C. The idea is to create something more or less like the function library Math. h. That is, it is not necessary to instantiate the class to use the…
-
0
votes1
answer117
viewsIdentify that an App is entering the background
I have an app that is in Object-C and I’m trying to pass it to Swift, but I’m having some problems, one of them is Nsnotification that is not working. In Object-C, I’m using it as follows: -…
-
0
votes1
answer92
viewsUitextfield does not display keyboard (IOS / Objective C)
My field (Uitextfield) does not display the application keyboard when it is selected through the simulator.
-
0
votes1
answer993
viewsAccess variables from another iOS Swift class
I have a class Main in my application, and in it I have created the variable cod which receives the value of 0, in this class I also have a sequence of buttons that in them contain the event of…
-
0
votes1
answer43
viewsError creating Tabbarcontroller at runtime
I’m having a problem creating a Tabbarcontroller at runtime in objective-c, when I call the method that creates the tabbar an error occurs: Thread 11: EXC_BAD_ACCESS(code=1, addess=0x3000000c) I…
-
0
votes1
answer57
viewsHow to create email in Swift using Mfmailcomposercontroller correctly?
I’m having trouble creating an email with MFMailComposerController on Swift. When trying to assign self to emailController.mailComposerController I get an error stating that I cannot assign…
-
0
votes1
answer28
viewsAfnetworkreachabilitystatus with inconsistent values when reestablishing connection
I’m trying to use the Restkit framework to observe the changes in the connection through the method setReachabilityStatusChangeBlock class AFHTTPClient. As soon as the application starts I get the…
-
0
votes1
answer72
viewsIcone Android opens browser with website
I am creating a responsive page and would like to know if it is possible to create an installable app for android/Ios that is only an icon that opens the browser with the address of my webpage.…
-
0
votes1
answer63
viewsCustom Like Boot
Does anyone know if it is possible to customize the like button of facebook SDK? I need to use my image as the bottom of the button or make it a button. var likeControl:FBSDKLikeControl =…
-
0
votes1
answer1462
viewsHow to search an Ionic Framework Angularjs list
Guys I have an application of Ionic, however I need to do a search or filter on the contacts that appear on the screen but I’m not getting and the worst that does not return any error: My control:…
-
0
votes1
answer36
viewsGet values from fields of a Nsarray with Coredata content
I have a table on coredata with some fields, I can get the size of these values but I need the values of each field, I have this code: var request:NSFetchRequest = NSFetchRequest(entityName:…
-
0
votes2
answers69
viewsviewDidAppear equivalent on apple watch
I need to present a short animation (a sequence of images) when my App starts. The method willActivate does not help me as it is still not showing anything. There is some notification or something…