hello there - is it possible with javascript, PHP (or anything!) to see if the iphone is using 3g or wifi from a website? We want to load low-res content if its 3G you see,
I found SCNetworkReachabilityFlags but that is just for apps...
Any pointers would be great!
Dan
...
Hi,
I need to set up correctly the FIRM ID for my app(according to target).For example I wrote in my Distribution.h the following lines:
#define X_FIRM_ID @"X"
#define XX_FIRM_ID @"XX"
#define FIRM_ID XX_FIRM_ID
For each build that I made I must manually change the FIRM_ID.I want to this automatically, just like I do for Default.png...
I have a JSON return that I'm trying to save into a NSDictionary, However, Since there are spaces in the data being returned, the Dictionary won't save this array because of the quote being included. Is there a way to parse the SBJSON to remove the double quotes prior to saving to the rowsArray?
rowsArray: {
Rows = (
...
I am accessing a web service and getting this error when trying to connect( web service is XMLRPC and I am using wordpress xmlrpc source code for request and handling repsonse):
Error Domain=NSURLErrorDomain Code=-1202 "The certificate for this server is invalid. You might be connecting to a server that is pretending to be “**.org” whic...
Let's say I have a simple view controller with one UITableView property:
@interface MyViewController : UIViewController {
UITableView *tv; // <-- DO I NEED THIS??
}
@property (nonatomic, retain) IBOutlet UITableView *tv;
@end
Do I actually need to declare the UITableView *tv ? I've found that even if I don't declare it (and simpl...
Hi all,
Just scouting for ideas here, but what would be a good way to implemenent mulitple screens in a game. I am thinking of a 2d game where when the player hits the edge of one screen it scroll to the next room.
Thanks all,
Martin
...
Testing my app on the device it returns a leak whe i call the copy of a custom object ande i can't understand why.
this is the call:
NSMutableArray *arr = [[NSMutableArray alloc] initWithCapacity:5];
for (SinglePart *sp in [copyFrom partList]) {
[arr addObject:[sp copy]];
}
self.partList = arr;
[arr release];
this is the method:...
Hoping there is a way to do this. Would like to just display the border around the view, with no 40px title bar at the top. Possible?
...
Is it possible to call the instance method of an object from the selector? Is the below possible? It gives me compilation error that ":" is missing or something:
timer = [NSTimer scheduledTimerWithTimeInterval:1.0
target:self
selector:@selector(([self.perso...
Hello. I submitted my first free iPhone app to the app store and users are complaining about bugs I've never seen, nor can I reproduce. How do developers allow their users to send feedback, as well as collect bug/crash reports for their iOS apps after they've been deployed to the app store?
Thanks so much in advance for your help!
...
Hello,
I'm going to make an app which influence another app. The only thing I don't know is ...
How to find the folder of the other app (Like "0A007EC0-F477-4A61-8F67-C075024F8463").
Does someone know it ?
Thanks,
Vinzgore
...
Normally we use the resignFirstResponder to hide the keyboard in the iphone apps.
For example, when we use a UISearchBar, after the user click the search button, we hide the keyboard by implement the searchBarSearchButtonClicked function like this:
-(void)searchBarSearchButtonClicked:(UISearchBar*)searchBar{
NSLog(@"Search B...
Hi,
First part of the question: Detecting current images being displayed in scrollview A and B
i want to place two UIScrollViews in my main view. Very simply done. So ive placed UIScrollView A above UIScrollView B.
so it looks like this:
Graphical representation
________
| A | ScrollViewA is above ScrollViewB
|______|
| B |...
How would I convert an NSString like "01/02/10" (meaning 1st February 2010) into an NSDate? And how could I turn the NSDate back into a string?
...
I need to provide some help for my app. I'm going to have some info buttons on some screens.
Initially I'd like them to be directed to the exact help page, but I'd like them then to be able to navigate to other pages in the help system.
What should I use, I'm looking for something quick to develop and quick to modify.
I'm thinking loc...
Hi all, I have a existing xib file, it's a simple uiviewcontroller, but now I want a put a navigation controller in this xib file, because this view is modal, so the navigation controller in the mainWindow don't work. So, if I put a navigationController in my xib file, what is the view that I must link with the file owners..?
...
So I am creating an iPhone app that records video using AVFoundation and I need to be able to stream that to a RTMP Media Server. Any ideas/thoughts?
Thanks in advance.
Jim
...
Hi everyone,
For my job, I've been writing an iPad application that the user can enter data into, view some pictures, etc. It's been annoying me that I'm reaaaallly slow at writing in Obj-C and I find myself bogged down in the UI (an example would be I always have to put in a UITableView which is time consuming...) I think that I have a...
I've read the previous post for this question, UIWebView - How to identify the “last” webViewDidFinishLoad message? but in fact I didn't get the answer very much.
what I need is to execute a script on the webView but after it finishes its loading completely.
I've tried to count the frames inside the HTML by reading it to a string and the...
Hello,
I am trying to integrate facebook connect to my iphone app but I have an error (code 10000):
did fail: The operation couldn’t be completed. (facebookErrDomain error 10000.)
when In try to update my wall. The code seems pretty simple (I had to struggle to find some doc though), but...
- (void)viewDidLoad {
[super viewDidLo...