Hello, I'm developing an iOS app that needs to connect to Twitter, Facebook, Google, Yahoo, Gowalla and Foursquare via OAuth. I have been using http://github.com/dbloete/oauth-objc and that works fine with Twitter (OAuth v.1, basic implementation), but has problems with everything else (it seems that each provider has different standards...
Im trying to sleep for a specified amount of millisecond in C on iphone but I keep getting some complaints on the console:
Detected an attempt to call a symbol in system libraries that is not present on the iPhone:
nanosleep$UNIX2003 called from function ...
Detected an attempt to call a symbol in system libraries that is not present o...
I have very big unsigned integral number in NSString. This may be big to 2^64.
Is there an existing functions/classes parsing this?
As I know, it's unsigned long long value, but, It's hard to know what kind of method should I use to parse this.
...
I'm working with a Core Data project in iOS 4.1 (targeting 3.1). When I add a Data Model version I get the dreaded "Can't merge models with two different entities named xxx" error." Cleaning Targets does not help. Deleting the build directory does not help. The only thing that solves the issue is deleting the previously installed version...
Hi guys ,
how do i make my uiwebview look exactly like safari when a page loaded , take for example this page
http://www.240-voltz.com/
it does not load like safari where i can choose where to zoom in?
cant upload images need 10 reps !
...
Hi I want to incease the size of UIPAgeControl on iOS... on google i've found this http://www.onidev.com/2009/12/02/customisable-uipagecontrol/
was wondering is there any other way....?
...
Within my iPhone application I periodically make calls to a webservice, providing the endpoint with a list of numeric IDs. The webservice then returns information relating to the IDs it receives.
This is all well and good. However, I would like to be able to provide functionality whereby the user will receive a local/push notification w...
I've been writing some code that replaces some existing:
while(runEventLoop){
if(select(openSockets, readFDS, writeFDS, errFDS, timeout) > 0){
// check file descriptors for activity and dispatch events based on same
}
}
socket reading code. I'd like to change this to use a GCD queue, so that I can pop events on to the queue...
How can I delete a UITableView row on swipe? I know the question has been asked, but I get only errors. Here's the code:
-(void)tableView:(UITableView*)tableView willBeginEditingRowAtIndexPath:(NSIndexPath *)indexPath {
}
- (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle)editingStyle
forRo...
In the following UIView animation block, I do a CGAffineTransformMakeScale and a CGAffineTransformMakeRotation, and though the duration is set to 1.0f, the scale goes really fast and the rotation goes in 1 second like it should.
It must be my lack of understanding about how AffineTransforms are applied but I can't figure it out.
What g...
Here's a follow up to a previous question. My code below animates a square by scaling it and rotating it. It does this by making a rotation transform and adding a scale transform to it. That works fine. When it's done, it calls throbReset. I used to have throbReset just set self's transform to a CGAffineTransformMakeScale and that w...
I have a UITableViewController that is presented with a list of choices. After the user taps one, I'd like to return to the previous view. The return seems too quick with the code I'm using though. I'd like to pause for 0.2 seconds or so to give the user time to see their selection become checked. Here's the code I'm using now:
- (void)...
I'm about to begin building an iPhone game that will make use of Game Center Achievements and high scores, but I'd also like to have a version that works on iPhones that don't have Game Center (i.e. iOS version < 4.1). Can I have two versions of the same app in the app store, one for game center, one for without? Or should I design the...
If I have an NSArray (or mutable array) with several dictionary objects (each dictionary is a Person) like this:
[
{ forename: chris, surname: smith, age: 22 }
{ forename: paul, surname: smith, age: 24 }
{ forename: dave, surname: jones, age: 21 }
{ forename: alan, surname: jones, age: 26 }
{ forename: cecil, surname: reeves, ...
I recently submitted a new version of my app to the app store, and increased the Deployment Target to 3.2, to make the app no longer able to install on iOS 3.1.3 which is not compatible with it. However, when the app went live on the store, it still is listed as "Compatible with iOS 3.1.3 or later." How can I increase the minimum iOS ver...
I added a new App ID and distribution profile then went to iTunes Connect and added a new application from the Manage Application link-
Uploaded screenshots and the icon.
So what else do I need to do to get the app to show up in the Application Loader?
...
Hi guys,
I'm having trouble changing the pinColor for an annotation in MapKit. When I don't try to implement the mapView:viewForAnnotation: method everything works (the annotation is added) but when I try to change the annotation view, the simulator crashes :
Here is the code :
MapViewController.h
#import "MapViewController.h"
#impor...
I've heard some conflicting things about the acceptability of scripting languages (e.g., Lua) in apps for the App Store. I'd like to hear from anyone who understands the policy regarding apps which contain some level of programmability, or someone who has had experience submiting such an app for approval.
For instance, suppose I want t...
So, imagine you have a couple of arrays, Colors and Shapes, like this:
Colors: {
Yellow,
Blue,
Red
}
Shapes: {
Square,
Circle,
Diamond
}
Now, if I want to sort Colors into alphabetical order I can do something like this:
NSSortDescriptor *sortDescriptor = [[NSSortDescriptor alloc] initWithKey:nil ascending:YES selector:@selector(loc...
Is it possible to access the metadata of an image captured by UIImagePickerController in iOS? I understand this can be done with AssetLibrary framework for images captured by the camera application (or otherwise present in the iPhone photo library), but can a developer access any of the metadata/exif info from within an application right...