HI all,
I am working on IN App purchase,storkit.
i am getting this error.
"request error Error Domain=SKErrorDomain Code=0 "Operation could not be completed. (SKErrorDomain error 0.)""
what does this means????
looking for a quick reply.
regards
shishir
...
Hi all!
I add a view as subview of my uiviewcontroller like this:
// into my ViewController:
UIImageView *imView =[[UIImageView alloc] initWithImage:[UIImage imageNamed:@"img.jpg"]];
imView.frame = CGRectMake(2, 46, 1020, 720);
[self.view addSubview:imView];
now, with another button I wish remove the imView from the subview chain..
ho...
Apparently Apple has changed some term in the agreement again.
From http://www.appleoutsider.com/2010/06/10/hello-lua/
section 3.3.2 is now
Unless otherwise approved by Apple in writing, no interpreted code may be downloaded or used in an Application except for code that is interpreted and run by Apple’s Documented APIs and built-i...
The thing is this: when we program for an iPhone app, we can add some more classes for those view controllers and such. But honestly, debugging and compiling these kind of programs get old real fast. Sure, we have the iPhone simulator, but sometimes, you just have to change some tiny things and you have to compile again. This is tedious....
In Core Data, most of the time relationships are modeled bidirectional. But the docs say in another place:
It typically only makes sense to model
a to-one relationship in one
direction.
...
Basically, I need to call a method in my AppDelegate from one of my view controller classes.
Currently, I'm doing the following:
myAppDelegate *appDelegate = (myAppDelegate *)[[UIApplication sharedApplication] delegate];
[appDelegate doMethod];
And including the myAppDelegate.h at the top of the .m file of the class:
#import "myAppD...
I have a button in my UI and was wondering if you are able to close the app and exit to the homescreen if you press it. Thanks!
...
O.K so I'm writing a iPhone travel guide, you purchase a subscription to a travel guide for 3 months, it downloads a fairly hefty database and for 3 months that database gets updated weekly with new stuff.
Now what I'd like to do is make the user enter their email address as a one off action before they purchase their first guide, for C...
I'm just starting out teaching myself openGL and now adding openAL to the mix.
I have some planets scattered around in 3D space and when I touch the screen, I'm assigning a sound to a random planet and then slowly and smoothly flying the "camera" over to look at it and listen to it. The animation/tweening part is working perfectly, b...
I have a php query the returns the following JSON format from a table.
[{"memberid":"18",
"useridFK":"30",
"loginName":"Johnson",
"name":"Frank",
"age":"23",
"place":"School",
},
It needs the following format:
[{"memberid":"18" {
"useridFK":"30",
"loginName":"Johnson",
"na...
Is there any ready made class/formula somewhere I can use it for control my viewpoint by accelerometer's/compass's XYZ?
I want to achieve the same view control like acrossair uses.
I have the parts (OpenGL space, filtered accel-, compass values, and a cubic panoramic view mapped to a cube around my origin).
Can somebody suggest me whe...
I am building an app for iPhone that has javascript running in a webview. When the new auto-select block selection tool is used to select text, and the block is resized from the side, it makes my javascript freak out. Does anyone know a way to disable the copy/paste for block selection? I still need to be able to select text, just not...
I have some NSString varibales that incude items like
Ð and Õ and if I do
cell.textLabel.text = person.name;
and if it contains one of those characters the cell.textlabel is blank!
I have discovered that if I use
NSString *col1 = [NSString stringWithUTF8String:(char *)sqlite3_column_text(compiledStatement, 0)];
To pull my data b...
Hi, I am building an iPhone Utility app that uses UIImageView to display an animation. Within the MainViewController's viewDidLoad() method, I am creating an instance of a CustomClass, and then setting up the animations:
- (void)viewDidLoad
{
[super viewDidLoad];
cc = [CustomClass new];
NSArray * imageArray = [[NSArray alloc] i...
I'm trying to record the contents of the iPhone screen to video , in the app I'm working I want the user to be able to create a little animation but I'm just not sure how to encode the screen contents/animation to video when their finished?
The problem with using something like ffmpeg is that its LGPL which can lead to licensing issues,...
Hi,
I have table view controller in iphone application. Table view has two sections. First section has two rows and second section has one row. Second section has a custom table view cell.
Second section has a textfield which hides when text field begin editing and keyboard pops up. I want this table view to scroll when keyboard pops ...
I've created a few sounds for use in my game. I can play them at certain events without issue:
// create sounds
CFBundleRef mainBundle;
mainBundle = CFBundleGetMainBundle();
_soundFileShake = CFBundleCopyResourceURL(mainBundle, CFSTR("shake"), CFSTR("wav"), NULL);
AudioServicesCreateSystemSoundID(_soundFileShake, &_soundIdShake);
// l...
In the iPhone SDK, in my .n, I can say:
-(IBOutlet) UITextField *MyNameIs;
-(IBOutlet) UILabel *DisplayMyNameIsHere;
}
-(IBAction)PressButtonToDisplayYourName;
Then in my .m, I'll do:
-(IBAction)PressButtonToDisplayYourName {
DisplayMyNameIsHere = MyNameIs.text;
}
But now how would I translate that to making a Mac applicatio...
Basically, what I want is to be able to press a record in a table, and have it push to another view.
To do this, I created a nib file and a UIViewController subclass (for the "pushed" view). I set the nib file's "File Owner" to be the controller I created. EDIT: I also then set the "view" field of the controller to be the View. Then, in...
I need to use tiles with a UIWebview to improve the rendering and scrolling of the content.
I tried to find some info in Google but it seems that there are no examples or technical info about this subject. I am doing some test with CATiledLayer class without luck...
Basically, I want to replicate the same that Mobile Safari does with t...