iOS is Apple's operating system for mobile devices, such as the iPhone, iPod touch, iPad and Apple TV (2nd generation and up). Much is shared with OS X, but iOS is optimized for touch-based interfaces.

learn more… | top users | synonyms (3) | ios jobs

0
votes
0answers
2 views

Centering a view in XCode 6 with auto-layout

I create a UIViewController in IB, place a UIScrollView in it, set it to size 300 x 400 and try to center it with auto-layout (Add New Alignment Contraints: Horizontal/Vertical Center in Container: 0) ...
0
votes
0answers
5 views

Adding Swift Closures as values to Swift dictionary

I want to create a Swift dictionary that holds String type as its keys and Closures as its values. Following is the code that I have but it gives me the error: '@lvalue is not identical to '(String, ...
0
votes
0answers
7 views

Shrink boundaries on UITableView cell label

I'm populating a UITableView with data from an array. However, when displaying certain portions of the data, I get a lot of cells with the same text, or very similar text. To fix this, I though I ...
0
votes
1answer
8 views

changing a customlabel within an expanding UItableviewcell

I created a custom table cell that expands. When it expands, it shows a UILabel along with two UIButtons. The UILabel should show data from the backend. I created the customLabel in the CustomCell ...
0
votes
2answers
18 views

Nil response when formatting date

Here's my server time: 2014-08-20 16:23:00.0 Now I would like to format the date my server gives me with the date only, and not the time. For example: Month/date/year Could someone explain what I ...
0
votes
0answers
9 views

Signal SIGABRT on class AppDelegate

I am getting a SigAbrt error when trying to run a iOS app in the simulator in xCode. The Debug Console says: *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** ...
0
votes
1answer
4 views

iAd banner in a TableViewController

I want to add an iAd banner into my UITableViewController. If I drag the iAd into the TableViewController the banner is on top of the cells. But the banner should be at the bottom of the screen (the ...
1
vote
0answers
8 views

Wrong cells update in UITableView while scrolling

I have a simple app which shows public transport on the map. It has a feature to enable/disable display specific transport routes on map. It is a list in UITableView, in each cell there is a name of ...
0
votes
0answers
4 views

Best way to make a video merging mobile app

I am looking to make a mobile app that will allow the users to take X number of videos and it will combine them together to make a single video. Users will also be able to choose what to put in ...
0
votes
0answers
8 views

Cordova doesn't load photos in iOS emulator

I have tried to load the photos from an example Cordova application. I have copied the full example code from Cordova's website and inserted permission into the config.xml file: <plugin ...
0
votes
1answer
17 views

Not sure how to invoke the buying process for in-app purchases in iOS with Objective-C

I have a method like this - (IBAction)makePurchase:(id)sender { UIAlertView *message = [[UIAlertView alloc] initWithTitle:@"Starting the purchase" message:@"Just press OK." delegate:nil ...
0
votes
1answer
14 views

Get info about current simulator device

As I know if I want to know which type of device is using (iPod, iPhone 4, iPhone 5 etc) I should use (swift): UIDevice.currentDevice().model But this code works only with real devices and if ...
0
votes
0answers
8 views

Scrolling a Tilemap in Sprite-Kit (JSTileMap glitch)

Since JSTileMap extends SKNode, you can use the API to move and animate your tilemap like any other node. However, I keep getting this weird effect/glitch... Code: _tiledMap = [JSTileMap ...
1
vote
0answers
6 views

ios dropbox sdk replacement

This is my first question on stackoverflow, though I’ve been benefiting from it for some time for problem solving. I hope this question(s) isn’t too open-ended but we are really struggling to find a ...
0
votes
0answers
8 views

Objective-C openCV 2.4.6 iOS framework compiler trouble

I have been successfully using OpenCV in a Universal Framework for both the simulator and a device. Now I want to create an application and include OpenCV into my application. Following are all the ...
0
votes
3answers
17 views

Resizing UITableViewCell to fit Content Performance

I am trying to create a table to show posts by users with possibly variable lengths. I want each cell in my table to resize to fit the content of the UILabel containing the text of the post. Currently ...
0
votes
1answer
8 views

Parse.com SDK v1.2.20 won't compile for ARM64bit architecture

I followed the quick start tutorial and solved issues with the Facebook SDK being required (Even though I'm not using Facebook), but for some reason even though I'm using a version of the Parse SDK ...
0
votes
0answers
10 views

Exceptions in my iOS Framework Show Private Code?

I'm building an iOS framework where only a single header file is exposed, and the rest of the code is private. Within Xcode I have all objective-c exception breakpoints on, so normally when there's an ...
0
votes
4answers
24 views

Cannot quit iOS Simulator

Am new to Mac using Mavericks. I double clicked a js file with some node code and to my surprise the iOS Simulator pops up. I googled and found: To quit iOS Simulator, choose iOS Simulator > Quit iOS ...
1
vote
0answers
7 views

Set text color in CFMutableAttributedStringRef and pass to Obj-c

I'm creating a CFMutableAttributedStringRef with attributes and then passing this to Objective-C. return (__bridge NSAttributedString *)myAttributedStringRef; Most attributes like fonts have ...
0
votes
0answers
11 views

Sinch delegate method “shouldSendPushNotification” not being called

I'm playing with Sinch and have some problems with Push notifications. Firstly I can use Sinch to send and receive messages (two devices with two different Sinch IDs). So that means the Sinch Client ...
-1
votes
0answers
22 views

Calling function in ViewController not working

The problem Im having is that the code compiles but the info that i get from getTextFromHTTP method is not filling the properties from singleSeismicTemplate (class SesimicData) in the viewController ...
0
votes
2answers
7 views

UILocalNotification with iPhone sound off

I need to play sound for UILocalNotification when iPhone sound off. Is it any way to achieve this or it is not possible?
0
votes
1answer
22 views

How do I get a UIButton pointer?

How do I get a UIButton pointer from a button I created with a tag? int buttonTagIndex = button.tag;
0
votes
0answers
18 views

open same view controller with different data

i have one problem i hope someone can help, im try to create an app like catalog, in the first view i have a table view with "x" number of items, this tableview is only an image of product, and then ...
0
votes
0answers
8 views

shouldChangeCharactersInRange not working properly for different textfields

I am working on phone number regex like this XXX XXX-XXXX for phone text fields, code is working fine but it disturb other textfields like name , email, what should i do to separate regex from ...
0
votes
0answers
2 views

linphone_call_take_video_snapshot saved empty file

I am working on a project based on Linphone-iPhone, the project requires taking a snapshot of current video stream (both in and out). I've found this 'linphone_call_take_video_snapshot' in ...
0
votes
0answers
7 views

Crashed: com.apple.NSURLConnectionLoader (com.apple.root.default-overcommit-priority)

I'm getting the following crash report in Crashlytics: Crashed: com.apple.NSURLConnectionLoader (com.apple.root.default-overcommit-priority) I've looked for a cause of the crash but can't seem to find ...
1
vote
1answer
16 views

NSURLConnection freezing if users navigates away

I have a UITableView with multiple cells that can contain play buttons. Each play button has a UITapGetsureRecognizer that invokes a NSURLConnection to download the audio file. The NSURLConnection ...
-2
votes
0answers
34 views

When passing data between view controllers can't figure out why this parameter is null

I'm passing a object from a sliding MenuViewController, the source, to a HomeViewController, the destination. On my MenuViewController, the user enters an airport code, selects it, and the home view ...
0
votes
1answer
5 views

Cancel NSOperations based on position in TableView/CollectionVIew

Suppose I have a table view or a collection view. In the cells I would need to load certain content (eg. an Image). I can get the content from local storage (if it has been saved there) or from the ...
1
vote
1answer
17 views

iOS how to add custom code to a class method without subclassing?

If I use a core iOS class in my app, like NSURLCache; I would like to print a log message anytime [[NSURLCache sharedURLCache] removeAllCachedResponses] gets called. How can I extend a class method ...
0
votes
0answers
3 views

Hooking up OpenCart with an iOS App via web services

I need to develop an iOS app that fetches data from an OpenCart installation online. This includes ordering online, adding things to wish list, creating a user account. Logging in to an already ...
2
votes
0answers
23 views

Best way to access all movie frames in iOS

Im trying to edit existing movie with added effects on top thus I need ability to scan all movie frames, get them as UIImage, apply effect and then either update that frame or write it into new movie. ...
-2
votes
0answers
21 views

Making an iOS app that rates user's pictures [on hold]

I'm trying to make an app and I'm new to programming. An app that allows user's to upload their pics and give them an opportunity to get them rated (give feedback) RANDOMLY or by their friends for a ...
1
vote
0answers
13 views

SceneKit: How to detect contact without collision

I'm looking for the best way (performace-wise) to detect contact between two objects that do not collide (not bounce off each other) in a SceneKit physics world. I saw that SpriteKit has a ...
0
votes
0answers
6 views

iPhone MKLocalSearch issue

In my app a user types something in a UITextField, and that text is used as the parameter for naturalLanguage Query in a MKLocalSearcRequest. Now, when I test it on an iPhone, the user is promoted ...
0
votes
0answers
8 views

Obj-C, CAKeyframeAnimation [UIBezierPath bezierPathWithOvalInRect:rect].CGPath pauses?

I've been adding an animation effect around circular buttons. I found the basis for what I wanted to achieve with this example.. ...
0
votes
2answers
33 views

How to solve “undeclared selector 'forwardGeocoderDidFail:withErrorMessage” warning?

How do I solve this warning? The warning is "undeclared selector 'forwardGeocoderDidFail:withErrorMessage:'". Why am I getting this warning, and how can I solve it? This is my code: if ...
0
votes
1answer
12 views

NSTimer when screen is locked

How do I keep the NSTimer persisting after the screen is locked in iOS 8? Every time I lock the screen it stops. I have tried putting it in an NSRunLoop to no luck.
0
votes
1answer
17 views

annontion map pin title showing wrongly

Annonation pin title shows same title for all pins.i have set label to show the title of each pin but i am getting same title for all labels.i did nslog of lbl.text ..but in nslog it shows different ...
0
votes
0answers
16 views

Xcode 5.1.1 not symbolicating Framework lines

An application we wrote was crashing randomly on a customer's iPad Air that has iOS 7.1.1. Users running the app on other iPad types are not experiencing the problem. The customer sent us the crash ...
0
votes
1answer
18 views

How to do left to right transition and vice versa in viewcontrollers

In my iphone application, i am using storyboard layout to display my views. for my requirement , i am navigating my storyboard viewcontrollers with the help of this code: NextViewController *vc = ...
0
votes
0answers
7 views

iCloud is turned off but settings still shows data being uploaded

Steps to reproduce: Launch the application Go to device settings -> iCloud -> Storage & Backup -> Manage Storage -> Device name Look for Disney Store within the application list and observe the ...
0
votes
4answers
29 views

Can't set any IBOutlet

I have a UIViewController that instantiates another UIViewController (with NIB) and pushes it to the screen. I then try to set UILabel and get UIWebView to load URL. However it doesn't work! No ...
0
votes
0answers
13 views

iOS - received email doesn't display image

I want to send html along with an image in my application. This is what I have done : NSData *imageData = [NSData dataWithData:UIImageJPEGRepresentation(image, 1)]; NSString *base64String = ...
-2
votes
0answers
9 views

Looking for an open-source text tool iOS compatible

I'm currently working on an app for iOS, and I'm looking for some kind of tool(or more than one) that would help me with some text related actions. First, I'd like an autocomplete on the searches, but ...
1
vote
1answer
38 views

Easiest way to style the text of an UILabel in iOS7/iOS8

I'm learning objective c a little bit to write an iPad app. I've mostly done some html5/php projects and learned some python at university. But one thing that really blows my mind is how hard it is to ...
0
votes
2answers
12 views

UIBarButtonItem not updating

I have an asynchronous routine that fetches data from a server. When the refresh button in the navigation is tapped, I replace it with a UIActivityIndicatorView, and that part works fine. The object ...
1
vote
0answers
7 views

Play Sound with Honeywell Captuvo SL22 device

I would like to play a sound from the skid before and/or after a successful scan with different tones. It has a higher pitched speaker or piezo electric device that's easier to hear in our current ...