Here is something I am trying desperately to get to work:
I have an app that polls the GPS module in specified intervals and then sends out coords out to a server using Unix calls such as write(); It works fine when the app is active, but once the screen locks itself, reporting stops.
I have found this: [UIApplication sharedApplication...
Can AdMob be used just for iPhone app statistics/analytics or is it's sole purpose to add advertisements in the app? I want to add a statistics package to my app and track it's usage, and since Google bought AdMob I thought I should give it a try. But I don't want to display ads in my app.
Is there any other good and free stats service,...
How does one force the iPhone map application to open when the link on a web page goes to maps.google.com/?q=http://example.com/mapdata.kml?
If I open the map application and specifically put http://example.com/mapdata.kml in the query box, all the data is loaded correctly. But if I use http://maps.google.com/?q=http%3A//example.com/map...
I like C++ a lot and to be honest the Objective-C "super set" of C is more of a "super fail". Can an iPhone application be written in pure C++? Are there parts of the API that are unavailable from C++?
...
Hi
I have been building a UIPickerView with 2 components(wheels) and was wondering if there is a way to space them out a bit, horizontally?
I haven't been able to find anything in either definition or documentation.
Hope someone knows how to solve this one:)
Thanks
...
Hi guys, I have a very strange memory leak problem, it seems that sqlite3_step is doing some nasty stuff :|
I spent almost 4 hours trying to fix this but no luck till now :(
Here it is the code:
[dbList removeAllObjects];
sqlite3_stmt *statement = nil;
const char *sql = "SELECT * FROM dbs ORDER by rowOrder;";
if (sqlite3_prepare_v2(d...
We have a wifi hotspot that displays a terms of service page before people are allowed to start using it.
After acceptance, a new page with a few links is displayed. I'd like to have those links open in Safari instead of in UIWebView.
I know there's a way to program UIWebView to open links in Safari, but that's not an option as this is...
We're creating an immersive app that needs to have something that acts rather similar to a UIAlertView, but we don't want it to look like a system dialog, we want to use our own graphics. I've got a big chunk of the work done, but there are a few snags I've hit:
How do I make the UIView show up above the status bar (so that I can dark...
A client of mine just informed me that, while using the app I am developing for them, they received an incoming call, but it did not bring up an alert on the iPhone. Instead, the person making the call heard a message that the user's service was temporarily unavailable.
If we put aside for a moment the possibility that either the person...
I'm having some problems getting CoreAnimation to perform multiple animations in succession on the iPhone simulator. I have many layers in my application that I animate – these layers are all sublayers of the layer associated with a UIView in my application. After I animate the first sublayer's position (using explicit animation - CAKeyF...
When should I give out my iPhone UDID? A company is developing an application for my company for the iphone wants my UDID. Are there any risks to me as an individual giving this out? Many thanks
...
I want to build my binary just for 3GS as it contains NEON assembly code, my app only works on 3GS. When I upload the binary to iTunesConnect, it rejects the binary saying that it should be compatible with armv6 as well. Is there any build setting that I can use so that I have a binary which iTunesConnect happily accepts and which runs o...
In many of my apps, it requires associating some data with a contact in addressbook. What I used to do is save the record id of an ABPerson and use that id to pull information upon each app launch. However, more and more I find that this approach is wrong because many times a user will use a service like mobileme where the addressbook is...
Hi guys,
I have this question that is unsolved for me.... I need to check if the current URL of my webview is a local file in the Documents directory of my app....how can I do this??
Thanks!
...
I am creating a webview and loading content using "loadHTMLString" The content is loading I just can't get the links to work ex linking to google.com. Any help would be great.
UIWebView* newWeb = [[UIWebView alloc initWithFrame:CGRectMake(notificationPopUp.frame.origin.x+ 20,notificationPopUp.frame.origin.y-100,100, 100)];
//newWeb.bac...
I have an interesting situation where I am refactoring a bunch of ObjC iPhone code to create a C++ API. I'm a novice to C++ and looking into C++ mocking frameworks to augment the work I'd done using OCUnit and poor man's mocks. I ran across googlemock and wanted to know if anyone has ever used it for iPhone development? Also, how can I s...
I'm trying to create a subclass of MKAnnotationView for an iPhone Mapkit app, but for some reason I am suddenly encountering this error:
Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 failed with exit code 1
These are my header and main files for the code that seems to be causing the error. Though the error d...
Hi,
Is there any way to rotate the buttons on a UIToolBar as the camera application does when you take a picture in landscape?
When the user rotates the iPhone I want to keep the toolbar on the same place and rotate the buttons so they don't stand sideways.
thanks in advance!
...
I'd like to know if it is possible to hide library implementation from consumers of a static library.
This great thread spawned a few questions in regards to a licensing system for static libraries: http://stackoverflow.com/questions/1739373/licensing-system-for-static-library. The scheme I'd like to use is:
Give consumer a license ...
How can I enable/disable navigationItem.rightBarButton item? I am calling the following code at -viewDidLoad but it does nothing.
self.navigationItem.rightBarButtonItem =
[[[UIBarButtonItem alloc]
initWithTitle:@"Flow"
style:UIBarButtonItemStyleDone
target:self action:@selector(flowWithMe:)] a...