iOS Development is easy with XCode, Swift3, UITableView, cocatouch, let's build iPhone, iPad and Macbook Applications.

fbDidLogin never called (facebook-ios-sdk)

I’m using a pop up Facebook dialog for the user login and the publishing of a post on his/her stream NSMutableDictionary* params = [NSMutableDictionary dictionaryWithObjectsAndKeys: apiKey, @”api_key”, nil]; [facebook dialog:@”stream.publish” andParams:params andDelegate:self]; It works, but when the user logs in the fbDidLogin method is never called. Why? In this way I can’t request the user […]

Google Voice Recognition on iOS

I would like to use the Google Voice Recognition / Speech API on my iOS app. Someone have idea how I can do it?

Increment UISlider by 0.2 in range 0 to 2.0

Possible Duplicate: Increment UISlider by 1 in range 1 to 100 I am new to iPhone, How do I have my UISlider go from 0 to 2 in increments of 0.2? slider = [[UISlider alloc] init]; [slider addTarget:self action:@selector(sliderChange:) forControlEvents:UIControlEventValueChanged]; [slider setBackgroundColor:[UIColor clearColor]]; slider.minimumValue = 0.0; slider.maximumValue = 2.0; slider.continuous = YES; slider.value = 0.0; […]

How to share multiple post on friend's wall in objective C

I’m using facebook sdk to post on friend’s wall. I am able to post it but when i select multiple friends in FBWebDialog instead of posting two friends simultaneously for each friend a separate dialog box is shown. How to post on multiple friend’s wall . -(void)showFriendsList { friendPickerController = [[FBFriendPickerViewController alloc] init]; friendPickerController.title = […]

Playing videos in WatchKit app

I’ve read some posts, but I don’t find the answer I need: is it possible to play a video file or a video from a URL in a WatchKit app?

Localized App Icon for iOS apps

I can localize images by put them in .lproj directory, but the application icon cannot be localized by the same approach. Is there any ways to localize the app icon? thanks.

Invalid update: invalid number of rows in section 0 terminating with uncaught exception of type NSException

I’ve read all of the related posts regarding this and am still having an error: ‘Invalid update: invalid number of rows in section 0. The number of rows contained in an existing section after the update (5) must be equal to the number of rows contained in that section before the update (5), plus or […]

Load and reload external SWF in AIR for iOS

I found several info on how to load one or more external SWF files, packaged with my AIR iOS App, the actual working code is: var myUrlRequest:URLRequest = new URLRequest(mySWF); var myLoaderContext:LoaderContext = new LoaderContext(false, ApplicationDomain.currentDomain, null); var loader: Loader = new Loader(); loader.load(myUrlRequest, myLoaderContext); Object(root).MK.addChild(loader) It works on Android devices and on Windows PC, […]

“Do Not Disturb” feature in iOS 6 How to implement?

I want to implement the feature “DO Not Disturb” in iOS 6. First question : Is there any framework or api apple exposed to control them through the code? After lot of googling i found an application on the app store “Call Bliss” that provides this functionality and complete control over the calls, sms and […]

How to tell if an iOS application has been newly installed or updated?

I have an application currently on the app store which I intend to submit an update for soon. With this update I want to add code which will tell the app when it first runs application:didFinishLaunchingWithOptions whether it is: A new install from the app store. Newly updated from a previous version There is no […]