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
9 views

Asynchronously check for Reachability on iOS

I'm new to developing on iOS and in Objective-C. According to this technical note (https://developer.apple.com/library/ios/qa/qa1693/_index.html), It is recommended to check for Reachability using ...
0
votes
0answers
2 views

How to enable changes MypType in Google maps API for IOS

i need to enable button o changes maptype in viewController. How to do this?
0
votes
0answers
2 views

Openfire Server sending empty packets

I am using Openfire server to implement XMPP communication between multiple clients, but in iOS background mode we can not afford to read useless packets. Here as I observed from iOS logs & other ...
0
votes
0answers
4 views

Pagination in UICollectionView with the preview of the Next and Previous cell

I am using a UICollectionView to show an array of images, horizontally. I want to achieve the effect like that in the AppStore App that displays app preview screenshots (Though now I think that I ...
-3
votes
2answers
14 views

UIButton with rounded corners

I want to create rounded corner button UIButton *btnlocatebusiness=[[UIButton alloc]init]; [btnlocatebusiness setTitle:@"Locate Business" forState:UIControlStateNormal]; [btnlocatebusiness ...
0
votes
0answers
3 views

NSURLSessionDataTask does not work from unity plugin

I have a native iOS sdk that works great in a native ios app, but when I try wrapping it in a unity plugin and call it from unity on an iOS device (ios v6.1), a specific piece of code of an HTTP ...
0
votes
0answers
8 views

Full text in UIAlertView not shown correctly in iOS 8

In iOS SDK 7 I was displaying a message while I was loading some data in this way: myAlertView = [[UIAlertView alloc] initWithTitle:nil message:nil delegate:nil cancelButtonTitle:nil ...
0
votes
0answers
11 views

Sizing of Images and Retina Displays

Quick question. If designing an image for a UINavigationBar do I simply design one image 320 x 64 px and then scale accordingly? So: 320 x 64 for iPhone 640 x 128 for iPhone 4/5 (and add the @2x) ...
0
votes
0answers
10 views

App crashes on setting NSUserDefaults setObject Method in ios8

I am having an app in which I am taking the value of an array in NSUserDefaults setobject method. Below is the code I am using. [[NSUserDefaults standardUserDefaults] setObject:selectedLists ...
0
votes
0answers
10 views

How to Select particular row in Expanded cell in iOS?

I found some solution for my requirement form Stakoverflow and proceeded got solution but got stroked here, I have added my data in plist and fetching data from that and in that section 3 and 4 i ...
0
votes
1answer
13 views

Get the IndexPath from inside a UITableViewCell subclass in Swift

I have a custom UITableViewCell subclass and its associated xib. I have a UILabel and a UIButton in this cell and I have wired the touch up inside action of the button to the subclass. What I need is ...
0
votes
1answer
14 views

Create base class of UIViewController with tableview and buttons

I want to create base class of UIViewController with tableview for my App sharing functionality between two almost similar ViewControllers. When i Extend UIViewController with tableview did the child ...
0
votes
1answer
5 views

present a freeform viewcontroller and set its labels

I've been recently developing an app that uses a freeform view controller. Everything was fine until I wanted to set the button title label's text considering localization. I tried to set the text ...
1
vote
0answers
5 views

App with custom URL callback and custom search URL

I'm looking for recommendations for an iOS barcode scanner app. Specifically for iPad which will support a custom URL callback to enable the app to be launched from a web browser. Additionally, it ...
0
votes
0answers
16 views

Detecting device after iPhone 6 has been released [duplicate]

Is there any way to detect, whether it is iPhone 5, iPhone 6 or iPhone 6+? Earlier I did it based on resolution: if ([[UIScreen mainScreen] bounds].size == 568) NSLog(@"4 inch"); else ...
0
votes
0answers
9 views

UITabBarControl in UISplitViewController - Hide TabBar in Landscape Mode

I am translating an "old" iOS 5+ to a new iOS 7+ app. Sofar the app did not AutoLayout or Storyboards. On iPad I would like to use an UITabBarController as detail VC of an UISplitViewController: In ...
0
votes
1answer
9 views

How to make iPhone web app links from opening in Safari?

I have a html page on my webserver and we make it as a qrcode scanning in another app (QRcode scanner) on my iphone. When we scanned it, it opens on the App's UIWebview, there is a link in the html ...
0
votes
0answers
8 views

Why is my TableView with WebView loading strangely (every 3rd object in array)

I have UITableView with UIWebView in it. Before I load UITableView, I fetch some JSON on another thread -(void)fetchJson { dispatch_queue_t queue = ...
-3
votes
1answer
20 views

How to assign two or more string values in one string in ios? [duplicate]

I am trying to pass the two string values in one string by doing this: NSString *abc=@"abc"; NSString *def=@"123"; NSString *name; name=@"%@ %@",abc,def; but it is not working.
0
votes
0answers
4 views

iOS auto-renewable subscriptions: receipt validation flows

I'm implementing an auto-renewable subscription scenario, where the receipt validation will be handled by my server-side code. Following Apple's documentation, I'll be obtaining the receipt data from ...
-2
votes
0answers
13 views

send messages between two remote apps in iOS

I am looking for a way to have one iPhone app send a message to another instance of the same app on a different phone. I have seen a number of solutions in the forum, but they are all for when the ...
0
votes
0answers
8 views

Unable to see autocomplete for Cocos2d classes in Xcode

I've create the project using SpriteBuilder like the documentation said, I've also create the MainScene swift class in Xcode and everything seems works fine. The problem it's that i can't see the ...
1
vote
0answers
9 views

Skobbler API's issue during rerouting

I am using skobbler API for my iOS application. Once I give the source and destination points for route drawing, it works fine and navigations are also working as expected. During navigation I am ...
-1
votes
0answers
6 views

Siren file of 5 sec is not completely playing when the app is in background [on hold]

Siren file of 5 sec is not completely playing when the app is in background and when the app is killed completely for my end user?Can any body help us in reproducing this scenario or can tell me what ...
0
votes
2answers
17 views

UIButton with increasing height if width is not enough?

I need a button to set up via autolayout which height will increase if the horizontal space is not enough i.e. after rotation. I have a leading and trailing constraint to the parent view, and in ...
0
votes
0answers
5 views

CoreBluetooth communitcating with BLE beacon firmware

I've got a question that goes far beyond my current understanding of iOS and CoreBluetooth and i was hoping somebody might be able to help me! Basically i am trying to find out if it would be ...
0
votes
1answer
9 views

exc_bad_access on uibutton click using Xcode 6 and Swift language

I am trying to add another sub view on click of button. First view is created using storyboard and button action is working fine. But when I add new viewcontroller's view as subview and click on ...
0
votes
0answers
9 views

Show/hide navigationBar when view is pushed/popped in iOS 8

Hi fellow developers, I'm suprised that I didn't find any information on that particular use case for iOS 8. Let me explain, I have a navigation controller stack, the first view has it's ...
0
votes
0answers
7 views

Adding extra button in AMSlideMenu navigation bar

I am using AMSlideMenu. Here is my requirement. How should I add the custom button?
1
vote
0answers
14 views

How to create zip of folder and file in IOS?

I can able to zip the multiple pdf files and individual folder . But failed to create zip folder of a file and folder which i marked in my screenshot.here is my code . In the If condition i write ...
0
votes
1answer
5 views

Best way to manually move/rotate a physicsBody in SpriteIKit iOS

What is the best way to manually move or rotate a physicsBody in SpriteKit? The move will be invoked when the user touches the screen.? An important requirement is that the physicsBody must move to ...
1
vote
0answers
15 views

iOS import swift class from swift using framework

Hi All i have a question how to import swift class from framework with swift class I have Xcode WorkSpace when i create CocoaTouch framework with using swift I create swift class names TestClass ...
0
votes
0answers
9 views

Where to store and access additonal content for iOS app from own server

I am trying to understand something that is not clear to me about the storage and access of additional content downloaded from my own server to my iOS app. Clearly this is possible, see the section ...
0
votes
0answers
5 views

Xcode: Show a microsoft .xps document in iOS

We use an external windows programm (PFPX for Flight Simulator X) where we print out the flight plan as a .xps which we all know is a Microsoft format. However, is there a way to show this format in ...
0
votes
1answer
23 views

Image matching with real objects in iOS

I have a database of images of various articles and the related information. Am creating an application in which user can scan/click an image of the real object and the application should match that ...
0
votes
0answers
21 views

iOS check image is valid

I have a image similar to the following: I guess this image may not be completely downloaded. How to detect this image? I've tried the following code, but it does not work. ...
1
vote
1answer
12 views

Moving selected UICollectionView Cell to the centre of collectionview

I have collectionview cell as follows. Middle row should be always visible and two other should always be half seen.But, when I click any row at top or bottom, it should occupy middle cell position. ...
0
votes
1answer
17 views

Center a UIView with auto layout is just not working

I have UIImageView which is in the screen size (auto layouts are 0 to all neighbours) . Inside it, i have another UIImageView. , i would like it to always be in the Center of its parent ...
0
votes
0answers
16 views

Get the temperature from the iPhone

When you leave your iPhone in your car during summer time, the iPhone my have an overheating issue, then the phone will be locked until the heat back to normal "See the below screenshot". Then, the ...
0
votes
0answers
10 views

Is unowned logically equivalent to weak! in Swift

Will these blocks always fail under the same circumstances (when the closure is being executed but self was deallocated)? { [unowned self] in //use self self.number = self.number + 1 } { ...
0
votes
1answer
4 views

NGUI: How to reset / update a UIgrid & UIScrollBar when a new item is added in real time

I have an UIScroll Bar and a UIScroll View that contains a UIGrid, like this: scrollWindow scrollBar (UIScroll Bar) scrollView (UIScroll View) Grid (UIGrid) I use them to display a list of items ...
0
votes
0answers
5 views

I can't get access token when call in paypal

I want to get access token from Make your first call in paypal I am convert Curl to objective c curl -v https://api.sandbox.paypal.com/v1/oauth2/token \ -H "Accept: application/json" \ -H ...
0
votes
1answer
15 views

Update UItableview Group identical objects in same cell UITableview Objective C

I have a UITableview which I populate with a NSMutableArray in View Controller A . I then push to the next view controller where I pass my existing array onto View Controller B. I then add the array ...
0
votes
1answer
41 views

Create own iOS framework

I'm developing a library, that should have closed source code, and support armv7, armv7s, arm64 architectures. I've got information that Apple is rejecting 3rd party dynamic libraries, so I have ...
0
votes
3answers
26 views

JSON Data in UITableViewCell

Hi I am developing one quizz app and the issue is, I have the following JSON Data, which is a respond from my WebService. [ { "id": "3", "question": "tes!2t", "option1": ...
0
votes
0answers
7 views

PSTreeGraph - Don't draw line between root and first child when build large treeview in Ipad Retina

Can you help me. I use PSTreeGraph (https://github.com/epreston/PSTreeGraph/). It doesn't draw line between root and first child when build large treeview in Ipad Retina ![PSTreeGraph][1] ...
-1
votes
0answers
15 views

IOS Objective C - File attachment

Is there any way to let user select and attach file .. and send it to server for further process. Please post along with code ! Like we do in web application by using file tag
0
votes
2answers
21 views

How to detect if a iphone is connected to any bluetooth device or not?

I came across this new API from iOS 7. - (NSArray *)retrieveConnectedPeripheralsWithServices:(NSArray *)serviceUUIDs NS_AVAILABLE(NA, 7_0); So its pretty clear that if the return array count is ...
0
votes
0answers
10 views

Drawn content are sticked in UIScrollView

I have a UIScrollView subclass let say it has frame like this (0,0,320,100).Each second i will call setNeedsDisplayInRect method and I will draw a vertical line (width would be 1Px and height may vary ...
0
votes
1answer
13 views

MPMoviePlayer in full screen iniOS6 not working

MPMoviePlayer playback time is getting : "nan" when press full screen in iOS-6. and display fully black screen. But here in iOS-6 its will working properly in normal mode(not full screen mode). and in ...