Comment by Sargis on Updating Location every x seconds iOS
see this tutorial ioscreator.com/tutorials/…
View ArticleComment by Sargis on How to keep alive application when app is in suspended...
for objective-c see this tutorial: ashishkakkad.com/2016/09/… for swift see this tutorial: makeapppie.com/2016/08/08/…
View ArticleComment by Sargis on iOS getting User's Facebook ID & friends List with...
In your question you wrote "This returns user's Facebook id, friend list but doesn't return profile picture URL of friends."
View ArticleComment by Sargis on Loading a custom UIView from xib
Possible duplicate of question about init and load from xib for a custom UIView
View ArticleComment by Sargis on why use storyboard push a viewcontroller shows black screen
Possible duplicate of UINavigationController shows black screen after pushing a view
View ArticleComment by Sargis on iOS app exception on app start (doesn't crash the app)
see here: stackoverflow.com/questions/26127004/…
View ArticleComment by Sargis on Repeat local notification for specific date iOS 10
UNCalendarNotificationTrigger *trigger = [UNCalendarNotificationTrigger triggerWithDateMatchingComponents:triggerDate repeats:YES];
View ArticleComment by Sargis on Programmatically delete Remote Notifications from...
Possible duplicate of Remove single remote notification from Notification Center
View ArticleComment by Sargis on See if another app is downloaded Xcode Objective-C
You must whitelist the url's that your app will call out to using the LSApplicationQueriesSchemes key in your Info.plist. <key>LSApplicationQueriesSchemes</key> <array>...
View ArticleComment by Sargis on Get and show images from Facebook in iOS app
I think this problem connected to permissions.
View ArticleComment by Sargis on Xcode 12: error: Could not load code generator
Thx @RYZheng. Yes, I tried clean, build, and checked ".xcdatamodeld" file, all correct, there are no conflicts.
View ArticleComment by Sargis on upgraded iOS 14 at iPhone 11 , facing UIPickerview issue
Ah, ok. It's strange, because for UIPickerview, not any changes in iOS 14
View ArticleComment by Sargis on Specified custom URL scheme is (null) but Info.plist do...
@SudarshanThorve The error is saying that your dynamic link has a specified URL scheme of (null), which probably means there's a problem with the link itself.
View ArticleAnswer by Sargis for How to take ScreenShot Of UIView Which is not in memory iOS
Use this:- (UIImage*)snapShot:(UIView*)myView { UIGraphicsBeginImageContext(myView.frame.size); [myView.layer renderInContext:UIGraphicsGetCurrentContext()]; UIImage *viewImage =...
View ArticleAnswer by Sargis for UIAlertController Action isnt working?
Try this:UIAlertAction *cancelAction = [UIAlertAction actionWithTitle:@"Cancel" style:UIAlertActionStyleCancel handler:^(UIAlertAction * _Nonnull action) {//your code here ... }];
View ArticleAnswer by Sargis for Using CIDetector to scan bar Codes (1 and 2 dimentional)
Use ZXinglibrary.ZXingObjC is a full Objective-C port of ZXing ("Zebra Crossing"), a Java barcode image processing library. It is designed to be used on both iOS devices and in Mac applications.
View ArticleAnswer by Sargis for Objective C - how to play animated gif image
Use FLAnimatedImage library#import "FLAnimatedImage.h"NSURL *url = [[NSBundle mainBundle] URLForResource:@"animated-f" withExtension:@"gif"]; NSData *data = [NSData...
View ArticleAnswer by Sargis for why use storyboard push a viewcontroller shows black screen
You need to use the instantiateViewControllerWithIdentifier: method of your UIStoryboard instance and then you can push the controller.
View ArticleAnswer by Sargis for I get this error when I user dictionary `set value for key`
Use NSMutableDictionary:NSMutableDictionary *dict = [NSMutableDictionary new];...
View ArticleAnswer by Sargis for iOS Date format 28 Mar 2016 / 16:54pm
See Instruction or introduction with every lineNSString *str = @"your date here..."; /// here this is your date with format yyyyy-MM-dd'T'HH:mm:ss.SSSZNSDateFormatter *dateFormatter = [[NSDateFormatter...
View Article