Data dodania Pytanie
2017-05-25 04:05 UserDefaults between Objective-C and Swift »
Just trying to be extra careful here... If I have an app that saved a value in UserDefaults like this in Objective-C: NSString *newString = textFiel...
(3) odpowiedzi
2017-05-24 20:05 Objective-C: Execute block or function in specific NSThread »
NSObject has a method -performSelector:onThread:withObject:waitUntilDone: that allows executing any method on the calling object in a specific NSThrea...
(1) odpowiedzi
2017-05-24 09:05 NSPredicate not working for string that contains "&" »
The following is the filter format I set in my NSPredicate. NSString *filter; NSPredicate *predicate = [NSPredicate predicateWithFormat:@"name CO...
(0) odpowiedzi
2017-05-24 09:05 How to get a CGPoint from a tapped location on a custom View When Voice Over Enabled? »
I am setting up my app to be compatible with Voice Over feature. I have a graph, I am getting single tap on the -accessibilitiHint(). I need to confir...
(1) odpowiedzi
2017-05-23 17:05 How can I reload tableview in viewDidLoad using delegate? »
I have simply TODO list in which there are: protocol's method reloadTableViewWhenItChanges; fetch data (i.e. core data); Table view reloads after ...
(2) odpowiedzi
2017-05-23 12:05 Delete Image from Custom Album PHPhotoLibrary objective C »
In my app I used edit pic and saved in custom folder in Gallery called "Fab". now is there anything to delete that image from folder? I have found dif...
(2) odpowiedzi
2017-05-23 04:05 NSTextField setBackgroundColor makes both fields the latter color setting? »
2 TextFields are created to be 2 different backgrounds. But both are colored "yellow" instead of "blue" and "yellow" ? In fact, if I switch the 2 ite...
(0) odpowiedzi
2017-05-22 23:05 XCode / New File / Header File --> default implementation »
In XCode 8, when I add a new iOS header file to my project, it comes with this code already in it. #ifndef SomeCoolWidget_h #define SomeCoolWidget_h ...
(2) odpowiedzi
2017-05-22 17:05 Apple receipt - original_purchase_date has date before app creation »
I'm a bit confused with this. So following this approach I got json which contains bunch of decrypted fields. Among them original_purchase_date. What...
(0) odpowiedzi
2017-05-22 07:05 How to enable UITableView swipe to delete along with horizontal page swiping »
In one of my app, I am having multiple table views inside a horizontal scroll view. So, user can horizontally swipe between table views. I am not usin...
(1) odpowiedzi
2017-05-21 06:05 Cast ObjectiveC int and swift Int (Call Swift method from Objective-c with variables) »
I am calling Swift function from ObjectiveC These are my simple code in my objective C Code // mySwift class is put in delegate [delegate testFun...
(3) odpowiedzi
2017-05-21 02:05 Scrolling gets "stuck" when using nested scroll views »
Problem description: I have one iOS project for browsing images with nested UIScrollViews which is inspired by famous Apple's PhotoScroller. The prob...
(1) odpowiedzi
2017-05-21 02:05 How to completely Logout of Facebook SDK Auth in iOS App »
using FBSDKCoreKit 4.22.1 I have an app installed publicly, servicing multiple users during the day. A person can walk up to the iPad and login with ...
(2) odpowiedzi
2017-05-20 15:05 UIView doesn't sizeToFit if a method is called by its self »
I have created a method - (UIView *) drawView:(NSMutableArray *) arrayToDisplay; wich works perfectly if it is called by another method, e.G. -(void)...
(0) odpowiedzi
2017-05-20 10:05 How to send video file as attachment in quickblox iOS? »
Quickblox iOS Video Attachments I have integrated Quickblox iOS (Objc) Library into my app for chat module. Images as an attachment under QBRequest ...
(0) odpowiedzi
2017-05-20 08:05 How to autoplay video in UITableView Cell? »
i want to autoplay video in tableview and for that i take reference from this [Link][1] Here is my TableView Screen here is my code but it will alw...
(1) odpowiedzi
2017-05-19 14:05 Not getting Tan (90) Value as undefined in objective-c »
While running below statement it prints the wrong value in the console. I got stuck as I am a beginner. NSLog(@"tan(90)=%f",tan(90*M_PI/180.0); Ou...
(2) odpowiedzi
2017-05-19 09:05 Change screen lock controls in runtime »
My app is divided into two modules. For first module, even after screen lock the audio should play and the locked screen should show details related t...
(0) odpowiedzi
2017-05-19 00:05 NSString Subclass or Wrapper Class or Category »
I'm currently helping a client that needs to change the language in their app due to certain governmental guidelines (medical vs wellness wording). Th...
(3) odpowiedzi
2017-05-18 13:05 Remove status bar color from a single screen if its set in app delegate »
I am setting status bar colour in appdelegate class as below. - (void)transitionToViewController:(UIViewController *)viewController ...
(2) odpowiedzi
2017-05-18 12:05 How to check characters from string but starting from 4th character to 7th character? »
For Example if i have NSString *a = "com42FA"; How to check the a string contains number, hexadecimal or numerical digits but checking starts from cha...
(3) odpowiedzi
2017-05-18 07:05 How To Get Safari History Domain Images Form Cache In Safari v10.1 »
I want to get images from safari which i show in my app. I have to differentiate all cache images domain wise, so before new update of mac os x12.4 an...
(0) odpowiedzi
2017-05-17 18:05 macOS Swift: How to properly add application as Login Item »
I have spend about 1 day (maybe a little more) on trying to add my application to Login Item in order it start up at macOS launch (user login). Fir...
(2) odpowiedzi
2017-05-17 10:05 how to connect to SQL Server through objective C »
How I can connect to SQL Server from My Mobile Application iOS Objective-C. I got sample code for Android i.e public void ConnectToDatabase(){ try...
(0) odpowiedzi
2017-05-17 06:05 Can't apply specific CGColor to CGContextSetFillColor »
- (void)drawRect:(CGRect)rect { CGContextRef context = UIGraphicsGetCurrentContext(); UIColor*aColor = [UIColor colorWithRed:2 green:191 blue:...
(1) odpowiedzi
2017-05-16 23:05 Too many argument calls to method »
In xCode when i debug using po i get this error. (lldb) po [NSString stringWithFormat:@"tel:%@",item.CNUMBER] error: too many arguments to method cal...
(1) odpowiedzi
2017-05-16 09:05 iOS - How to edit/modify/delete/update data from google sheets from objective-c »
I have followed below link to get the Particular row Data. https://developers.google.com/sheets/api/quickstart/ios But i am not able to perform foll...
(0) odpowiedzi
2017-05-16 08:05 avplayer doesn't pause when clicked on pause button if screen is locked »
If the app is playing the audio and phone screen is locked then control screen is shown as below. I am not able to take any action on avplayer In m...
(3) odpowiedzi
2017-05-15 11:05 apple mach-o linker error linker command failed with exit code 1 (use -v to see invocation) »
I am working with objective c with core data, i got Error : Apple mach-o linker Error, Linker command failed with exit code 1 (use -v to see invocatio...
(2) odpowiedzi
2017-05-15 11:05 Why UIView's setFrame is not same as UILabel's setFrame »
In order to detect the behavior of refresh UI on background thread,I used the third-part library ODUIThreadGuard. This lib is based on hook UIView's...
(1) odpowiedzi
2017-05-15 09:05 Unable to receive remoteControlReceivedWithEvent - objective c - ios »
I successfully enabled my app to be able to play audio and video in background after the screen is locked. However, for better user experience I want ...
(1) odpowiedzi
2017-05-14 17:05 What is int* and long* of objective-c equivalent in C#? »
I am trying to port a library of native iOS in Xamarin iOS by creating the binding library. I followed this tutorial. But I am stuck at the point of b...
(1) odpowiedzi
2017-05-14 11:05 I want to Search places from particular city using Google API »
I want to search the places in UITextField, I am using GMSAutocompleteViewController when I click on the UITextField it is navigating to other view co...
(1) odpowiedzi
2017-05-14 10:05 How to use RxSwift for Objective-C and Swift project? »
A project was created in Objective-C language and later I used Swift in it. In my pod-file I have couple of Objective-C pods. I tried using RxSwift po...
(1) odpowiedzi
2017-05-13 14:05 Read "structured/serialized data" from NSStream »
I am developing a game app which will take structured data from a server and make responses based on these data. I have connected the app to the int...
(0) odpowiedzi