Tagged Questions
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.
16
votes
0answers
369 views
+50
tgmath.h doesn't work if modules are enabled
I looked into using tgmath.h to deal with the CGFloat typedef float/double mess when dealing with arm64.
This answer has a pretty good description of how to use it, except that it didn't work at all ...
12
votes
0answers
1k views
Sprite Kit - SKShapeNode Path not drawing Quad Curve
I have been delving in to Apple's new Sprite Kit, and been using it for a while now.
However I ran into an issue when trying to draw a curved path for an SKShapeNode. It just appears to draw a ...
11
votes
0answers
491 views
Cannot get the new AppLinks to work on iOS
Latest Update Below at Update #4
I'm trying to implement AppLinks for BOTH my iOS AND Android apps : http://applinks.org
I've done the following:
setup a custom url scheme for my app: inacho://
...
10
votes
0answers
357 views
Xamarin.Forms swipe gesture recognizer
Xamarin.Forms is very new and very exciting, but for now I see that it has limited documentation and a few samples. I'm trying to make an app with an interface similar to the "MasterDetailPage" one, ...
10
votes
0answers
231 views
Creating an iOS library or framework using libgdx (roboVM)
Is it possible to create an iOS library or framework using libgdx (RoboVM) that can be imported into Xcode?
Background:
One of my colleagues has created a 3D visualisation app as a libgdx project for ...
10
votes
0answers
465 views
PBRequester failed with Error -1001 “bad URL” for Apple Maps download on simulator, but not on device
The first time I try using geocodeAddressString:inRegion:completionHandler after a reset of the iOS simulator I get this error:
PBRequester failed with Error Error Domain=NSURLErrorDomain Code=-1000 ...
10
votes
0answers
507 views
EKParticipant in EventKit erroneously returns NO for isCurrentUser property
I'm attempting to determine which of an EKEvent's attendees (EKPartipants) is the current user. In iOS6, EKParticipant exposes a property called isCurrentUser
...
9
votes
0answers
108 views
iOS accessing AddressBook Contacts via UnitTest; how to set permissions?
This question pertains to using the iPhone Simulator with Unit Tests. I have written a series of tests that test storing of our data, merged or not merged with data we can access from the user's ...
9
votes
0answers
893 views
ios CoreBluetooth[WARNING] Unknown error: 1309
I am sporadically getting the message "CoreBluetooth[WARNING] Unknown error: 1309” on the console when running a BlueTooth app I am developing. Even though the message states that it is a warning, it ...
9
votes
0answers
282 views
Crash being reported for ALAssetRepresentation metadata method
I have some code that wraps an ALAsset object that is retrieved from enumerating the assets in an ALAssetLibrary. I'm getting reports of users encountering crashes with the part of the wrapper object ...
9
votes
0answers
835 views
iOS AVFoundation Export Session is missing audio
I'm am using the iOS AVFoundation framework and I am able to successfully merge video tracks, with image overlays, and text overlays. However, my output file doesn't keep the audio intact from my ...
7
votes
0answers
129 views
having issue with scrolling image with gyroscope
I have a strange problem with iPad Air !!! , my code runs fine on iPad 3 , iPad 4 , iPhone 5S , iPod 5th Gen , but on iPad air , my image scrolls automatically without user rotate the device , here is ...
7
votes
0answers
234 views
How can I demangle a Swift class name dynamically?
I'm aware of the swift-demangle command line utility. I'm looking for something that will let me do this from Swift itself.
I got excited when I saw this after running :target modules dump symtab ...
7
votes
0answers
306 views
Core Data Concurrency Debugging: False Positive
As mentioned in WWDC 2014 session 225 (Whatʼs New in Core Data), Core Data on iOS 8 and OS X Yosemite now support the command line argument -com.apple.CoreData.ConcurrencyDebug 1 to enable assertions ...
7
votes
0answers
62 views
Core Data SQLite store becomes readonly after update
I have had reports of users being unable to use an iOS app after updating via the App Store because the SQLite database in use by Core Data apparently becomes readonly. This occurs with a read/write ...
7
votes
0answers
253 views
GPUImage filtering video
This is a follow-up to a previous but only marginally related question
I'm using the GPUImage library to apply filters to still photos and videos in my camera app. Almost everything is working ...
7
votes
0answers
203 views
Libgdx IOS Not Working?
I recently finished making a libgdx app for android, and I am currently trying to port it to ios. I have eclipse kepler installed, with the robovm plugin on top of it. My mac is also running osx ...
7
votes
0answers
607 views
iOS UICalloutBar crash
I am getting the following crash report for my app. Any ideas as to how I would go about debugging something like this?
Crashed: com.apple.main-thread
EXC_BAD_ACCESS KERN_INVALID_ADDRESS at ...
7
votes
0answers
225 views
AVSpeechSynthesizer utterance to audio file
I'm using AVSpeechSynthesizer in my app and I'm looking to save the spoken text to an audio file or AVAsset. I went through Apple's docs and didn't see anything but figured I'd post a question to make ...
7
votes
0answers
494 views
Strange error: Can't render polygon
I use a MKMapView to display about 700 annotations in total. Occasionally, but in no way regularly, I get a huge log like this:
2013-06-05 17:32:12.395 tiet[1493:1c52b] Can't render polygon (can't ...
6
votes
0answers
85 views
Web Audio API Memory Leaks on Mobile Platforms
I am working on an application that will be using Audio quite heavily and I am in the research stages of deciding whether to use Web Audio API on devices that can support it. I have put together a ...
6
votes
0answers
379 views
Code runs in simulator, dyld symbol not found error thrown when run on device (X-Code 6 beta)
I'm trying to compile some code that makes use of the CFNetwork framework, and it runs just fine in the simulator (with a deployment target of iOS 7.1), however when I attempt to run it on my iPhone 5 ...
6
votes
0answers
592 views
iOS / Too frequent rssi event from driver..?
newbie in the stackoverflow community, so bare with me while I get some (most) of the facts sorted out..
Right so my question came up looking an the console output of some iOS 7.0.x devices via ...
6
votes
0answers
179 views
Using NSLayoutManager to calculate frames for each glyph
On this thread, Core Text calculate letter frame in iOS, they were able to calculate the frame of each glyph very precisely using Core Text. The final rects hug the actual drawn glyphs perfectly.
...
6
votes
0answers
289 views
Performing your own physics calculations for a collision in Sprite Kit
I'm trying to set up some elastic collisions using Sprite Kit. There is an issue with the case of multiple objects resting near each other as I asked in Sprite Kit Physics Collision Issue
I am ...
6
votes
0answers
210 views
MKPolylineRenderer produces jagged, unequal paths
I am using the iOS 7 MapKit APIs to produce 3D camera movements on a map that displays an MKDirectionsRequest-produced path. The path is rendered by MKOverlayRenderer like so:
...
6
votes
0answers
573 views
WARNING: Slow defaults access for key Internal took xx seconds, tolerance is 0.020000
I have a weird problem with a phonegap iOS app. I have a version without adverts approved and working fine on the app store and a new version with adverts which has been rejected due to the app ...
6
votes
0answers
757 views
iOS 7 Region Monitoring Doesn't Reliably Fire
I have setup an app that only has region monitoring and nothing else. I am testing by running in front mode (as opposed to background mode). It is running on an iphone 5 with ios 7.0.4. It has ...
6
votes
0answers
373 views
What is SKCSprite, and why is Sprite Kit leaking it?
I have a sprite kit game, which creates and removes many SKSpriteNodes every frame.
When analysing with instruments, the number of SKSpriteNodes is constant, indicating that the number created & ...
6
votes
0answers
312 views
Forcing or “encouraging” iCloud to upload changes to a file
I have a Mac and iOS application that is sharing data using iCloud, via a single "shoebox" file.
Most of the time, changes are properly synchronized in an efficient and prompt manner. However, every ...
6
votes
0answers
3k views
Android/iOS Peer-To-Peer architecture
This is kind of wide question, I found many information about this topic.
Possible technologies
Bluetooth
GameKit iOS only?
Bluetooth P2P library, with Wi-Fi and GPS?
Wi-Fi
Wifi Direct?
Bonjour ...
6
votes
0answers
487 views
LibStatusBar icon disappears on 3rd-party app launch
I wrote a tweak for cydia, it adds an icon to the status bar.
It works fine at the home screen and when SpringBoard is launched, also, if an app is already launched then it works fine,
however, if an ...
6
votes
0answers
544 views
iOS FBRequestConnection startForMyFriendsWithCompletionHandler getting complete list of friends
How can we get the complete list of friends, currently I am using
[FBRequestConnection startForMyFriendsWithCompletionHandler:^(FBRequestConnection *connection, id result, NSError *error) {
if ...
6
votes
0answers
1k views
logical buffer load - slow framebuffer load - ios
We are trying to figure out why we have a relatively slow FPS on iphone 4 and ipad 1.
We are seeing this Category of warning in our open GL Analysis: Logical Buffer Load. The summary is "Slow ...
6
votes
0answers
1k views
How to customize appearance of UIPrintInteractionController
The apple blue does not match my app colors so the print dialog is very jarring.
In my iPhone app I am able to get the proper nav bar and background colors with the following ...
5
votes
0answers
86 views
cocos2d 3.0 sliding menu grid
I am migrating all my games to cocos2d 3.0. I used SlidingMenuGrid.m with slight modification.
SlidingMenuGrid.h:
//
// SlidingMenuGrid
//
// Created by Brandon Reynolds on 1/9/11.
#import ...
5
votes
0answers
51 views
How do you map AFIncrementalStore to Twitter API v1.1?
How do you map AFIncrementalStore to Twitter API v1.1?
Core Data Persistence with AFNetworking, Done Right
https://github.com/AFNetworking/AFIncrementalStore
REST API v1.1 Resources
...
5
votes
0answers
112 views
Video upload with Instagram API now allowed?
According to the Instagram documentation, Instagram only allows API uploads for images (JPG, PNG).
A new iPhone app called Cinamatic allows users to upload videos to Instagram after loging in to the ...
5
votes
0answers
230 views
Getting 'Posix spawn failure' error - Appium iOS
I am trying to run my automation scripts for one app using Java in Appium iOS.
When I am running on Simulator , getting the following error -
info: Attempting to retry launching instruments, this is ...
5
votes
0answers
351 views
Build error: “Unknown type name 'ffi_cif'”
When building my XCode project, for one of my cocoapod dependencies, libffi, I get 5 build errors, all along the lines of /Pods/libffi/ios/include/ffi_common.h:77:1: Unknown type name 'ffi_status'
...
5
votes
0answers
162 views
Epson ePos sdk error when printing from TM-P60II
I'm using the epson ePOS sdk to print to a TM-P60II from iOS. I can connect and print, but only once or twice. I get a timeout error after a try or two, then have to restart the app in order to ...
5
votes
0answers
240 views
iOS data counters - using private API
I'm developing an App that is not intended for App Store so I can use private APIs.
What I'm trying to accomplish is getting data information counters per specific applications - if possible, ...
5
votes
0answers
187 views
How to let my app audio to nicely interrupt iPhone audio while speaking
My iOS 7 app vocalizes texts when necessary.
What I'd like to do is enable the user to listen to his music or podcasts (or any other app using audio) while mine is running.
The expected behavior is ...
5
votes
0answers
661 views
iBeacons generated under Mavericks OSX works but have some different bytes from iOS
I follow this sample project BeaconEmitter under OSX to generate samples iBeacons for develop an application on iPhone.
BeaconEmitter application is based on the tutorial from Matthew Robinson, and ...
5
votes
0answers
144 views
Inverted Polygon in GMSMapView
I have to use Google Map for my iPhone project and I'am using GMSPolygon to draw a polygon but How can I fill everywhere on my map except the interior of the polygon. Like the image below.
Thank ...
5
votes
0answers
268 views
CG Raster Data - CGProviderCreateWithCopyOfData - Unable to Release?
I am trying to find the source of a memory leak as detailed here :
Unable to Release Quartz 2D and Core Text created Images
When I use instruments I can see that there is something called CG Raster ...
5
votes
0answers
258 views
iOS: Reachability - startNotifier fails after returning to app
I have Reachability working exactly as suggested as in this thread.
I am using the open source Reachability. However I am not using blocks but notifications, hence the process is pretty similar to ...
5
votes
0answers
195 views
start use iCloud Keychain instead local keychain issue
I've been used keychain. And now, I'm trying to sync it via iCloud keychain.
I got an exception
result = SecItemUpdate((__bridge CFDictionaryRef)updateItem, (__bridge CFDictionaryRef)tempCheck);
...
5
votes
0answers
376 views
willTransitionToState (UITableViewCell) not called in certain situation
What I want to achieve
I have a custom UITableViewCell featuring a UITextField for in-place-editing. A cell's field should be enabled while the UITableView is in edit mode, but NOT while the cell's ...
5
votes
0answers
476 views
AVCaptureSession starts and then immediately fails
I have a feed of videos that use a custom video player, based on an AVPlayer, to play HLS streams. On a navigation bar, there is a button to launch the camera. As of the iOS 7.0.3 update, the capture ...