I created a consumable in app purchase item and I want a user to buy it every time he uses it.
Everything works as expected except when I buy the item more than one time, iPhone pop ups a message saying "You've already purchased the item. Do You want to buy it again?". Is It possible to disable this dialog and proceed to the actual purch...
- (void)applicationDidFinishLaunching:(UIApplication *)application {
// Create the navigation and view controllers
RootViewController *rootViewController = [[RootViewController alloc]
initWithStyle:UITableViewStylePlain];
UINavigationController *aNavigationController = [[UINaviga...
I have a data entry application that has the user enter about 6 pieces of information all on different views in a navigation controller. This works fine, but once the user gets used to the application the time it takes for the next screen to appear slows the user down.
I tried the application without the animations, but it doesn't feel...
What I'm trying to do is replicate the NSTokenField like UITextField seen in the Mail app and Messages app (type a contact and it comes up with suggestions).
I've got the autocompleting working perfectly, when you type in a UITextField, a UITableView pops up showing any matches that it can find in an array, when you click one it adds it...
I have a UIPageControl which has UIScrollView which is the MainWindow.xib
On the UIScrollView are a UITextView and a UITableView.
The user makes a row selection, moves to the next page and selects another row based on the UITextView.
I want none of the row to be selected in a page and when the user makes a row selection, I want the se...
Hi there,
I've got a default settings plist file in the resources folder of my app, and on the first launch that gets copied to the documents folder.
In successive versions of the app, how can I merge the plist settings in their documents with any new keys & values (possibly nested) that have been added since the previous version?
I'v...
I'd like help on some strategies to sequence some animations.
I subclassed UIImageView so that I could write some custom animation actions on an image. I implemented a few methods to be used as actions that I could call on my image
example:
-(void)rotateAnim; //rotates the image by a few degrees using a CGAffine Transform
-(void)num...
I have two Objective-C classes that inherit from the UIViewController and am trying a different approach at learning how to interact with the iPhone's address book. The example Apple provides assumes that everything is in one class, but this isn't the way I need it done. My objective would be to have the address book view close after a p...
I'm stuck on stoopid today as I can't convert a simple piece of ObjC code to its Cpp equivalent. I have this:
const UInt8 *myBuffer = [(NSString*)aRequest UTF8String];
And I'm trying to replace it with this:
const UInt8 *myBuffer = (const UInt8 *)CFStringGetCStringPtr(aRequest, kCFStringEncodingUTF8);
This is all in a tight uni...
Before keeping on reading in the docs, my brain got stuck at this point:
- (void)threadMainRoutine {
BOOL moreWorkToDo = YES;
BOOL exitNow = NO;
NSRunLoop *runLoop = [NSRunLoop currentRunLoop]; // is this THE run loop?
// some stuff...
while (moreWorkToDo && !exitNow) { // or is THIS the run loop?
// some stu...
I'd like to test In App purchasing with my test user. However, it seems as though I need to create a real product and associate that to a real app. This product is then searchable in iTunes. If I'm only testing, I don't want the product searchable in iTunes. Can anyone shed a little light on that aspect of the testing experience for ...
I've seen a lot of html that behaves like an iPhone UI. Is there a library for this? Any tutorial/guides in building these html? See screenshot for an example.
...
Hey,
I'm creating a UINavigationController based app. And in the first view i have a UITableViewController.
I want to have the same behaviour that the Contacts App have.
1) User select contact
2) System show contact details
3) User selects que back button
4) System returns to the tableview, and fadeout the cell
I can only do this if ...
Hey so I found this great post that details how to integrate Video behind openGL without much work. I've got the same setup and even the same starting framework, but it just doesn't work. It looks like he started with version 2.2.1 and then moved to 3.0.1, but even when I go back to use 3.0 it doesn't render the camera behind the openG...
Hello all
im trying to make a image gallery and the user swipes through views like on the Photo app on the iphone. i heard page control was very good but it has a limit of 20 bullets and i need more swipes. what would you guys recommend?
...
Hi,
I need (i.e. a customer requirement) to provide a custom keyboard for the user to type text into both text fields and areas. I already have something that does the keyboard and appends test to a text field, however I'd like to make it more generic and have it act like the standard iphone keyboard, i.e. appear when teh user selects ...
I have three UILabels of varying widths that I'd like to line up next to each other. How do I get update the frame's X value?
Here's what I have:
UILabel *contractLabel = (UILabel *) [cell viewWithTag:200];
contractLabel.text = [board getDisplayLevel];
UILabel *contractSuit = (UILabel *) [cell viewWithTag:201];
contractSuit.text = [b...
Hi,
I was wondering if anyone knew of any good online resources/tutorials for creating views and controllers programatically rather than via the interface builder. Everything I have looked at uses the interface builder and the created nibs, while the IB is ok I would like to have the option of developing these manually (both for practi...
Hi All,
I am working on a view based application. In this i have two viewcontrollers. They are: Rootviewcontroller and Detailviewcontroller.
Now i am passing a values to Detailviewcontroller using pushViewController method.It works fine. But now when i pop out from this Detailviewcontroller i should access myfunction in Rootviewcontrol...
Mi app closes with this error, when running an AdHoc build of my app in the device. I never have any problems in the simulator.
What's the exact meaning of this problem ?
...