I am creating an app with quite a lot of buttons. I have already placed all required buttons on the view and all constraints are set. Everything is done in the storyboard. I want to create a button which will change all buttons layout. In order to do
I have a big array like that : var tableau = ["Salut", "Hey", "Salut", "Hey", "Hey", "Mom", "Hey", "Dad", "Mom", "Hey", "Plop"] And now I want an
The title of my question makes this look like a duplicate, but it's much more complicated of an issue than the title suggests, so please read through this post before marking it as a duplicate. I have a tableview that uses UIRefresh for pull-to-refre
I'm currently upgrading an iOS app from Swift 2.2 to 3.0. I have pointed all of my pod dependencies to their Swift 3 versions and have migrated my code. However, when I run pod install and try to open my Workspace, Xcode still wants me to convert the
I need to set an object as key in NSMutableDictionary. I declared my dictionary as var streamsDict : NSMutableDictionary = [:] and adding object as streamsDict[stream] = "Value" but i am getting following error due to which my application crashe
I have an array of Strings, and I would like to group the content by three to create arrays within the array. For instance: var arrayOfStrings = ["a0", "a1", a2", "b0", "b1", "b2"] And I am looking to
I'm trying to build an app for Apple Watch OS 2, so I was wondering is it possible to add buttons or images on top of the map?As far as I know, there isn't such a thing like "multiple layers", as you might call it, which would allow you to arran
I am trying integrate opus into my application, the encode and decode function returns positive value which means successfully, but the output audio can't play. Raw audio data can play as well. Here is how I encode data. I use 4 bytes prefix to separ
I am working on an ios app which requires Facebook Login.I have successfully implemented the login process.But now I am not able to find that how and where can i get the user's profile information like first name,last name, Profile Pic etc...My app h
I am connect drupal with IOS. I m getting cookies at time of login . Then I am setting cookie in header in URL request . I am getting Csrf validation failed. Please Help . Any help would be appreciated. appdelegate = (AppDelegate *)[[UIApplication sh
I understand that a first responder object is the receives a callback signal according to input activity, etc and that it will bubble it up the chain until a responder willing to handle it can be found. But more formally, what is the scope of the fir
Before iOS 8, I didn't have problems with this & now, yes. LOG: Assertion failed: (CGFloatIsValid(x) && CGFloatIsValid(y)), function void CGPathMoveToPoint(CGMutablePathRef, const CGAffineTransform *, CGFloat, CGFloat), file Paths/CGPath.cc, l
I'm having a random UIWebView crash using iOS8.1 and UIWebView, using an iPhone5. In my tests the crash doesn't appear on iOS7. I've created this github repository to reproduce the crash: https://github.com/crarau/WebViewCrash Basically I'm adding a
I'm developing an Cordova app using Cordova 3.5, and I have a question about data storage. How to keep data alive in new app version? Can I just use LocalStorage or WebSQL? or I need some others?the localstorage is persistent. if you update the app a
I need to write some gui for IOS, yet i am so used to the automatic view id's that android has, that i am at a loss when it comes to identifying views without putting explicit tags in the interface builder is there some way to automatically identify
I have a webservice, in which the parameter "upload_images" have more than one value. How can i get that values. I am using SBJson. Here is my response { "node_title": "thk", "category": "Boating", "d
I would like to create a NSDictionary with the objects and keys, as example below NSArray *keys = [NSArray arrayWithObjects:@"key1", @"key2", nil]; NSArray *objects = [NSArray arrayWithObjects:@"value1", @"value2",
I'm trying to check if the time between two dates is larger than 3 months, but have had no success. Here is what I am trying. Am I doing something incorrectly? Even if I set the detailTextDate at yesterday, it will still display the evaluationLabel.
Different projects using ZXing have error after last Xcode update: Error messages are: private field 'cached_y_' is not used Private field 'bits_' is not used Private field 'cached_row_num_' is not used Private field 'dataHeight_' is not used Any com
Can we develop games for Android and iOS on Unreal Development Kit? I am planning to make games for both platforms, so my questions are: Will I have to make games separately for different platforms? Is developing games for mobile platforms different
I have a @property in the model class of my app that will call prepareForSegue:. It's publicly declared like this in my CalculatorBrain class. @property (readonly) id program. The getter looks like this: - (id)program { return [self.programStack copy
I have an NSMutableArray of NSMutableDictionary (it's a plist). Each dictionary in the array has 2 keys: 'id' and 'lu'. How can I find the index in NSMutableArray of NSMutableDictionary where, for example, id = '47653'? I tried to do it but it's not
So I'm doing the usual where I'm passing a pointer to an NSError object to a method. It used to be a simple: -(BOOL)foo:(NSString *)string error:(NSError **)error but with ARC it is now: -(BOOL)foo:(NSString *)string error:(NSError *__autoreleasing *
I'm working on an iPhone app again and I'd like to setup one view to be seen before another. I've added the view to my window and have specified the viewcontroller code that I'd like to use, but I can't find where on earth xcode specifies which viewc
I am trying to do a app, but unfortunately it is not passing through all (void) instance methods (i copied the methods from another project).... and also not showing any error....Can any one tell me know whats going wrong????? I am building a app whi
I have a set of Div's which act as buttons. These buttons have a simple jquery click() function which works in all browsers except iOS. For example: <div class="button">click me</div> and $('.button').click(function(){ alert('hi'); }
I want to do something like the keyboard show/hide so I want to set up picker as a first responder. Is this possible. If not how can i show/hide UIPicker in a view by a button click. On other topic how can i format the DatePicker output, now i get "2
I'm going to development a mobile application (not mobile web application) with android and ios versions. I need a back-end server to store and process the data. So mobile application only use for present the data from back-end server. Now questions:
Is it possible to decrease a user's points in Game Center based on something in the app?Straight from the GameKit Programming Guide - (void) resetAchievements { // Clear all locally saved achievement objects. achievementsDictionary = [[NSMutableDicti
I have the following 2 arrays. Array A with i.e. 10 id's, and the other array, Array B with 300 id's with all the corresponding data. I want to retrieve all the data from B with id's which are stated in the array A. I could just loop all entries in a