Data dodania Pytanie
2017-04-11 10:04 Wrapping static library in Cocoa Touch Framework »
I have a fat static library with 2 architecture slices (armv7, arm64). I'm trying to make it work with swift and wrap it into Cocoa Touch Framework. ...
(1) odpowiedzi
2017-04-10 12:04 Using private API to enable personal hotspot in ios »
I am using iOS runtime header to enable hotspot in ios. Link NSBundle *b = [NSBundle bundleWithPath:@"/System/Library/PrivateFrameworks/Sharing.fram...
(0) odpowiedzi
2017-04-10 10:04 Hiding the markup bar in QLPreviewController on iOS 10 »
I need to use a QLPreviewController in order to open PDF and JPEG documents into my app. I implemented it in this way: -(void)openQuickLook{ QLP...
(0) odpowiedzi
2017-04-10 09:04 Appropriate way to get user's location(also in killed state) for an "hyperlocal" app »
Requirement - I am building a hyperlocal app which will provide offers to user based on his location. When in app I can get his current location and s...
(1) odpowiedzi
2017-04-09 19:04 How to get notification if device's location is changed 5 or 10 meters? »
I'm working on a project where I need to store device's latitude and longitude. But I need to store them when the device makes a change of 5 or 10 met...
(1) odpowiedzi
2017-04-09 15:04 How to make method public for my project but not for public API? »
I write SDK and I have header MyClass.h with public API. Some methods are not written in header like - (void)foo; so users cannot use them. However ...
(1) odpowiedzi
2017-04-09 12:04 http post request header both set and not set? »
I'm making an iOS app and part of it sends http post requests to php on a server. I've just made some changes to my code (both in the app and the php...
(0) odpowiedzi
2017-04-08 13:04 How to create a Pixel_8 buffer in swift »
I'm trying to convert objective-c code in swift, and I'm completely blocked looking for a way to get a Pixel_8 buffer (that I'd normally create using ...
(2) odpowiedzi
2017-04-08 12:04 Does my Mac App need to apply Server Entitlement Key? »
My mac app has a built-in AirPlay function for streaming video file from my app to Apple TV, so do I need a Server Access entitlement key ("com.apple....
(1) odpowiedzi
2017-04-08 07:04 How to handle Button click event of custom view? »
I want to do this below concept in my project: I just created one small custom popup using UIViewController, this custom popup containing one message...
(1) odpowiedzi
2017-04-07 17:04 Play/Pause and Elapsed Time not updating in iOS command center properly »
I have a video player that can play from the iOS command center and lock screen. When I toggle a play/pause button in my app, it should update the pla...
(1) odpowiedzi
2017-04-07 13:04 NSURLSessionDataTask not called after NSURLSessionDownloadTask in the same NSURLSession in iOS background »
My iOS app works in the following way I have an array of audio file names, I check whether the file is present. If it's present it starts playing it...
(1) odpowiedzi
2017-04-07 09:04 how can store custom objects in NSUserDefaults »
I apologize for duplicate Question . I am new in ios . I want to store custom objects in userdefaults. I am using objective-c . Thanks in advance ...
(2) odpowiedzi
2017-04-06 13:04 addingPercentEncoding works different in Swift »
I have obj-C method that encodes String: - (NSString *) encodeValue:(NSString*) unescaped{ return [unescaped stringByAddingPercentEncodingWithAll...
(2) odpowiedzi
2017-04-06 13:04 UIApplicationDelegate but for each ViewController »
I want to get notified whenever a new view controller is shown, the UIApplicationDelegate provides such a way but for the whole app, not for each view...
(3) odpowiedzi
2017-04-06 10:04 Are Swift dynamic libraries backward compatible with older swift version projects »
I'm starting to work on a SDK from scratch. I'm not really sure if I should write it in Swift or Objective-C. I feel Swift is better than Objective-C ...
(1) odpowiedzi
2017-04-05 17:04 LLVM compiler - Is this an optimization bug? »
I have an interesting problem related to the optimization level of LLVM compiler. I'm using: Xcode 8.2.1 LLVM 8.0 It is better to explain it with ...
(2) odpowiedzi
2017-04-05 13:04 How to detect triggered date of an actionable Notification »
I have a reminder in my app. In which I've created daily repetition of a notification. Now multiple notifications can be seen in my notification cente...
(1) odpowiedzi
2017-04-05 11:04 libMobileGestalt MobileGestaltSupport.m:153 MobileGestalt.c:550 Xcode Console »
I am getting Following messages on Xcode Console View libMobileGestalt MobileGestaltSupport.m:153: pid 231 (myproject) does not have sandbox access ...
(1) odpowiedzi
2017-04-04 17:04 SWRevealViewController closes when opened beyond 'snappoint' »
I'm trying to make the SWRevealViewController work in my application. What I did is I didn't want to be able to open the menu from everywhere on the ...
(2) odpowiedzi
2017-04-04 13:04 Create a compiler error when a variable is nil »
I need to trigger a custom compiler error when the developer forgot to enter a key in LocalizedStrings, in order to alert him this would cause the app...
(3) odpowiedzi
2017-04-04 00:04 IOS UICollectionView throws assertion when using two collection views »
I have two UICollectionViews in a single UIViewController. I am separating them by tag number so that I can use the data source and delegate methods f...
(1) odpowiedzi
2017-04-03 15:04 Tint UIPageControl dots in different colors - Objective c »
I'm using a default UIPageControl and i have 2 tint colors - one for current age and one for the rest. I want the pages before the current pages, i.e...
(0) odpowiedzi
2017-04-03 10:04 Displaying currency with converted price for the NON in-app products (Physical Products) »
I am working on a application which lets the users to purchase the physical things. I need to show users the converted price to the country they belon...
(0) odpowiedzi
2017-04-03 08:04 How to scroll collectionview horizontal? »
I'm using camera and gallery to take image and add it to collection view, i want to add image to collection view to horizontal direction only so i add...
(4) odpowiedzi
2017-04-02 22:04 Combinating Swift & Objective C files »
I have a bit complicated classes in swift and Objective-C combinated together: Keypad.h: #import "MyApp-Swift.h" @interface Keypad : UIViewControl...
(1) odpowiedzi
2017-04-02 21:04 AudioKit microphone input + MIDI output »
Is it possible to use AudioKit to gather microphone input and simultaneously use MIKMIDI for playing notes from a MIDI file through the stereo speaker...
(0) odpowiedzi
2017-04-02 19:04 Custom status bar and navigationbar from Google sign in controller »
I integrate Google sign SDK into my app. But I don't know how to change color of status bar and bar tint color of navigation bar also. I tried to chan...
(1) odpowiedzi
2017-04-01 22:04 My regex is returning nil everytime in obj-c, example code included »
edit i clarified exactly what text im getting stored in a string. So heres my regex https://regex101.com/r/fWFRya/5 -this had the wrong string zz, th...
(1) odpowiedzi
2017-04-01 14:04 Could not build Objective c Module »
i was making a xcode project with swift and it was working fine but suddenly it started giving me this error. Could not build Objective C Module ...
(1) odpowiedzi
2017-04-01 10:04 Using UITabBar and UINavigationBar »
I'm facing problem with using UITabBar and UINavigationBar at the same time. My intention is to have tabBar displaying my 3 tabs and navBar on each of...
(2) odpowiedzi
2017-03-31 11:03 How to draw shapes like circles, oval, ractangles dynamically in iOS? »
I have a UICollectionView of showing shapes like circles, oval, ractangles. So when I clicked on Cell I need to draw same shape on UIView and after I ...
(3) odpowiedzi
2017-03-31 10:03 Managing UIWindow height when on call »
I am working in IOS application where all the work is done programmatically and we haven't used autolayout in complete application. But I am facing o...
(2) odpowiedzi
2017-03-31 06:03 How to get an image from URL and put into NSArray? »
I would like to get an image from an URL and put it into a NSArray, but doesn't work in the below codes, please help: @interface DataViewController (...
(1) odpowiedzi
2017-03-30 19:03 Disable localization in UILocalNotification alertBody »
I'm using local notifications in my chat app (using Long polling). The problem is when the user receives a new chat while the app is in the background...
(0) odpowiedzi