Data dodania Pytanie
2017-03-20 22:03 Encrypting in PHP, decrypting in IOS »
I'm trying to figure out how to send encrypted data to my IOS app from a web page. In php I have a page that encrypts a string and then echos it out ...
(2) odpowiedzi
2017-03-20 13:03 Lock all screen orientations to portrait except for 1 »
I'm developing an iOS app that can only be accessed in portrait mode. Except 1 framework (1 out of the 80 screens in my map) that I'm using needs La...
(2) odpowiedzi
2017-03-20 08:03 iOS - Detecting Silent Mode »
I need to detect if the phone is in silent mode or not. I found old way and new way (playing an .caf file) but none of them worked correctly. Old way ...
(1) odpowiedzi
2017-03-19 23:03 How to create an Empty Application without LaunchScreen in Xcode 8 »
Following the accepted answer to How to create an Empty Application in Xcode 6 without Storyboard I managed to have an empty application working in Xc...
(1) odpowiedzi
2017-03-19 14:03 Downloading file with swift and objective-c »
I have 2 projects with 2 different languages. Objective-c project and swift project to download the file from url. The problem is that in objective-...
(1) odpowiedzi
2017-03-19 13:03 How does NSApplicationMain find the main nib file? »
The documentation for the NSApplicationMain function says that it loads the main nib file from the application’s main bundle It's suggested on...
(1) odpowiedzi
2017-03-18 22:03 Is following use of objc @protected directive safe/legit? »
I have to expose a private property to sub-classes. Since there is no such thing as "protected properties" in objc AFAIK, I'm using the @protected dir...
(2) odpowiedzi
2017-03-18 20:03 How to create object methods in JSContext »
I'm implementing JavascriptCore in an app. I've set up a JSContext and I'd like to be able to add some object methods to it. Ideally, what I'd like to...
(0) odpowiedzi
2017-03-18 12:03 How to detect iOS SMS capability (NOT text messaging in general) »
I'm writing an app that optionally allows you to send an SMS to a list of users. The app currently detects whether the device allows the sending of te...
(1) odpowiedzi
2017-03-17 17:03 Objective C : Clean code Ternary operator creating NSDictionary »
I would like to know the general opinion about a situation that I have had several times during my development experience. The question itself is abou...
(2) odpowiedzi
2017-03-17 10:03 UITexField method call when done button click »
I have a textfield in a UITableViewCell When I clicked in textfield directly this method is called: -(void)editingChanged:(UITextField *)sender th...
(6) odpowiedzi
2017-03-17 00:03 Is [self class] special in Objective-C »
I ran across some code today that does the following: - (instancetype)initWithBlah:(Blah)blah { NSLog(@"Initialising instance of %@", [self class])...
(2) odpowiedzi
2017-03-16 21:03 How to sort an NSArray with nested NSArray »
I have an instance of NSArray with instances of NSArray inside. The inner arrays contain only instances of NSString. I need to sort the nested arrays ...
(1) odpowiedzi
2017-03-16 20:03 How to print formatted float in obj-c with number of digits from parameter »
I know the way to set formatted float with specific number NSLog(@"%.2f", myFloat); What is the way to set parameter number? Something like this c...
(2) odpowiedzi
2017-03-16 04:03 Swift 3.1 deprecates initialize(). How can I achieve the same thing? »
Objective-C declares a class function, initialize(), that is run once for each class, before it is used. It is often used as an entry point for exchan...
(1) odpowiedzi
2017-03-15 20:03 Objective-C method that returns a block is not available in Swift »
I'm building an Objective-C library that must be compatible with Swift, and I'm having an issue with several methods that return Objective-C blocks be...
(0) odpowiedzi
2017-03-15 11:03 How to make appear my app in activity view? »
I want to add youtube sharing in my app.When user share any video, in the activity view my app should appear.How to do ? Suggest me some tutorials. Th...
(1) odpowiedzi
2017-03-15 10:03 How can my Cocoa application be notified of NSScreen resolution changes? »
I am making a Cocoa application with a floating window. The floating window is supposed to be centered on the main screen, at a size which is 1/4 of t...
(1) odpowiedzi
2017-03-14 15:03 callkit incoming call voice issue »
I am implementing a callkit with pushkit in my one of the voip application.In ios 10.1 i was able to receive a incoming call audio. but now updated a ...
(0) odpowiedzi
2017-03-14 14:03 how can I include resources in native ios codename one? »
how can I include some pictures for the native ios [ in codename one ] and how can I use them from inside the code , I tried to create a folder Called...
(2) odpowiedzi
2017-03-14 12:03 How to integrate `React Native SDK` provided by Facebook in our application? »
I want to integrate React Native SDK in my app. I have followed guidance provided on site. But when I run my app it gives error like : And also I h...
(2) odpowiedzi
2017-03-14 10:03 Is it possible to play a Song from iOS Music Library with AVAudioEngine? »
i have succesfully created a AVAudioEngine. It plays local sound-files from the project-directory. But how can I get access to the Music Library on th...
(1) odpowiedzi
2017-03-13 21:03 Is it possible to have a UITextField selected without a keyboard present? »
Summary of my situation My app uses a barcode scanner that acts as an external keyboard. While on a particular view I want to have a hidden textfield...
(2) odpowiedzi
2017-03-13 13:03 Facebook like button not work ios »
FBSDKLikeControl * likeButton = [[FBSDKLikeControl alloc] init]; likeButton.objectID = @"https://www.facebook.com/FacebookDevelopers";//self.shareDic...
(0) odpowiedzi
2017-03-13 11:03 Objective-C - how to do exception catch and avoid to have app crash? »
When i call this function few times from my button (like mad more then few times), then my app crash instead of just throw exception and ignore. How ...
(2) odpowiedzi
2017-03-12 18:03 How to change a UITableViewCell image when the cell is selected? »
The question sums it up-- I'm trying to have a box get checked when someone clicks on the UITableViewCell, which involves changing the image in the ce...
(3) odpowiedzi
2017-03-12 11:03 Google Crash report not updating in my mail Id »
I integrated Google Analytics for my application. Everything working fine. For expected and uncaught exceptions, I am not able to get the report throu...
(1) odpowiedzi
2017-03-12 08:03 where is block in memory Objective-C »
int b = 100; NSLog(@"b in stack:%p", &b); NSString *str1 = @"Hello World"; NSLog(@"&str1 in stack:%p", &str1); NSLog(@"block:%p", ^(){})...
(1) odpowiedzi
2017-03-11 20:03 UITableView with .xib cell with error : failed to obtain a cell from its dataSource »
I have create table cell with .xib file. and added in the UITableView using following code : -(UITableViewCell*)tableView:(UITableView *)tableView ce...
(3) odpowiedzi
2017-03-11 19:03 iOS/Objective-C: BLE in Peripheral mode doesn't work »
I'm trying to launch BLE in both Central and Peripheral modes. With hardcoded variables for now for sake of simplicity. I think i've implemented every...
(1) odpowiedzi
2017-03-11 11:03 How to understand that "When a variable with a __weak qualifier is used, the object is always registered in autoreleasepool" »
The book named Pro Multithreading and Memory Management for iOS and OS X writed that Why does the object need to be registered in autoreleasepool...
(1) odpowiedzi
2017-03-10 13:03 AVAudioUnitEQ: numberOfBands parameter »
when i initialize a AVAudioUnitEQ one parameter is the number of bands, which the equalizer Unit will have. My Question is what ist the possible max...
(0) odpowiedzi
2017-03-10 11:03 Not able load google map inside webview in local html file »
I am using a local html file named basicmap.html which contains <!DOCTYPE html> <html> <head> </head> <body&g...
(2) odpowiedzi
2017-03-10 06:03 Xcode Analyzer issue on memory leak and incorrect decrement with ARC »
I am Using ARC in my project but still when i ran Analyser i got following issues. And Following is my code :- #import "UIImage+ImageSize.h" ...
(1) odpowiedzi
2017-03-09 20:03 LLVM doesn't like Objective-C class method names starting with keyword 'new' »
Have a non-ARC app. The unit test target is the standard XCTest framework created from XCode and that target is ARC itself, meaning in the unit tests ...
(0) odpowiedzi