Are in-app purchases for a given App available to all versions of the App or only the current version?
Suppose I have MyApp 1.0 on the App Store with in-app purchases for feature A and B.
MyApp downloads a list of in-app purchase ids from a webserver.
MyApp 2.0 is released that adds support for features C and D.
My assumption is tha...
Hi everyone,
I'm struggling with core data... I don't understand some things so if someone could help me, I would be very grateful!
I have an entity (Recipe) with a relationship to-many with another one (Meal). I would like to select all the recipes which have no connection with a meal... so I've tried:
Code:
[myRecipes filteredSetUsin...
Hello,
Is it possible to open simultaneously more then one callout?
The code:
- (void)mapViewDidFinishLoadingMap:(MKMapView *)theMapView {
for (id<MKAnnotation> currentAnnotation in theMapView.annotations) {
[theMapView selectAnnotation:currentAnnotation animated:YES];
}
}
opens only one callout.
...
I can use this method to show my location at first.
-(void)displayRegion:(double)latitudeDouble: (double)longitudeDouble{
CLLocationCoordinate2D coord = {latitude: latitudeDouble, longitude: longitudeDouble};
MKCoordinateSpan span = {latitudeDelta: .005, longitudeDelta: .005};
MKCoordinateRegion region = {coord, span};
...
I have a couple of UITableViewController classes and I just noticed that these methods aren't being called:
-(void)viewWillAppear:(BOOL)animated;
-(void)viewDidAppear:(BOOL)animated;
I read in http://discussions.apple.com/thread.jspa?threadID=1529769&tstart=0 that I would have to call those methods myself when pushing view control...
Does anyone know how to change the background color of a cell using UITableViewCell, for each selected cell? I created this UITableViewCell inside the code for TableView.
...
I have an UIWebView containing links. These links should open in another view inside my app, except links containing "mailto". To achieve this, I'm using the following code inside the UIWebViews delegate:
- (BOOL)webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)request navigationType:(UIWebViewNavigationType)navig...
According the discussion on http://forums.macrumors.com/showthread.php?t=551476 the code seen below would do for RSA encryption. The datatype of the key ("public") is SecKeyRef. I will not be using the keychain, though, as I'm only interested in encryption where the key is public and is no secret. Is it even possible to use the crypto AP...
Hi all.
I want to draw some curve in my scroll view using CGPathRef. I tried to draw this path but i see only the part of my CGPathRef which located at 320x480 pixels. Is it way to do that.
Thank you in advance.
Here is my code
path = CGPathCreateMutable();
CGContextBeginPath(ctx);
CGContextMoveToPoint(ctx, [[pathArray objectAtInd...
Hi
I'm trying to use core data to write a series of persistent data (NSManagedObjects) to sqlite and then read that series in to an application. I have managed to write and read a single record during a single session, but everytime I reload the app the previous data is not loaded (and sqlite manager recognizes tables but does not recog...
Hi,
I am adding functionality to my app that will allow it to email some rather detailed information. I would like to send this as an HTML-formatted email so that I can take advantage of HTML and CSS styling.
The approach I'd like to take is to design the template with placeholders for the fields to be filled in, load the template int...
I would like to port a chess AI to iPhone, but I can't figure out how to do it. Apparently iPhone doesn't support multi threading so you can't just seperately compile the AI, but have to somehow merge it into the code.
I have a GPL copy of a implementation of the sjeng engine, but I can't figure out how they did it because it's written...
Hi,
is there a restriccion or limit for the number of installed/distributed iPhone applications with the Standard Program? (Individual and/or Company)
...
Can anyone tell me what the scope of the static variable in the class below is?
@implementation SharedManager
static id myInstance = nil;
+(id)sharedInstance {
if(myInstance == nil) {
myInstance = [[self alloc] init];
}
return myInstance;
}
In a test I created an instance from the class and then released it, but ...
Hello,
I got problem in cocos2D application.
I have a sprite and text in one screen. The text should be able to move up/down when we swipe. And when we select on the sprite it should take to next scene. So, both should have the istouchEnabled to YES. But text should take the touchesMoved and sprite should take touchesEnded. But my proble...
Hi everyone,
I have a complex Core Data graph on the iPhone. A user entity has a lot of other entities which are related one to the other with multiple relationships etc...
My question is how can I delete all the related entities when I delete the user entity.
Thanks in advance!
...
In my app I have BaseViewController (NavigationController) as the root controller. I normally use the following code to navigate:
[self.navigationController pushViewController:childController animated:YES];
But on one of the actions I want the next view to animate buttom to top, so I use:
[self presentModalViewController:childContro...
I have a sql image type field coming back in an EDM (Entity Data Model) .NET service call. The image field is stored as binary in sql server 2008. However, I'm not sure what is happening to the image data, or what type of encoding. And since the webservices are generated behind the scenes, I can’t figure out if the service is doing somet...
Hi.
I have a UITable View with a textfield that is editable right on the view (like Phone in contacts, etc.). I want to enable/disable my save button conditional up text being present in this field. So, I want the button to start out as disabled (for a new record) and then, as soon as I type the first letter into my text field, I want t...
Hey all,
on viewDidLoad i init my array:
NSFetchRequest *request = [[NSFetchRequest alloc] init];
NSEntityDescription *entity = [NSEntityDescription entityForName:@"Member" inManagedObjectContext:managedObjectContext];
[request setEntity:entity];
NSSortDescriptor *sortDescriptor = [[NSSortDescriptor alloc] initWithKey:@"creationDate" ...