iphone

iPhone Debugging Error launching remote program: failed to get the task for process 907.

Created an app for adhoc distribution and installed on iphone but it is not working on the installed iphone,Tried connecting the iphone to mac and debug the app but it throws up error stating " Error launching remote program: failed to get the task for process 907." is there a way to debug the adhoc distribution provision file from xc...

How do I auto-tag photos uploaded via iphone facebook connect??

Thanks in advance ...

iphone blue tooth connection

hi... here i have two (1 & 2) doubt . anybody clarify it . pls help. 1) I want do that trasferring data in between iPhone and other bluetooth device , (it may be iPhone/ipod touch , any other mobile like nokia samsung or any pc...). is it possible in iPhone programming . ? if possible pls give me guide lines..... 2) can we te...

switch between multi viewcontroller's view

Hello everyone I have a project in which, there is root viewcontroller and multi sub viewcontrollers. In root viewcontroller I call and switch between 2 sub viewcontrollers codes as: //root view controller controller button at front of all subviewcontrollers'view [vViewController2.view removeFromSuperview]; [self.view insertSubview:v...

How to implement delayed/batched table view update from NSFetchedResultsControllerDelegate?

The documentation says: You should consider carefully whether you want to update the table view as each change is made. If a large number of modifications are made simultaneously—for example, if you are reading data from a background thread— /.../ you could just implement controllerDidChangeContent: (which is sent to the delegate whe...

show rating alert when deleting app in iphone?

I have seen in most of the apps which i install using itunes has shows a alert please rate the app when deleting the app? is it by default behaviour or we can create it programmatically in our app? ...

How to add a Boundary outline in UIView of Iphone.Please Read Description

Hi all, I want to make a rectangle Boundary and to insert a UITextView and two buttons in that rectangle .If i making the rectangle by adding a subView in a from UIView class than I am unable to interact with the controls in the rectangle area which i inserted in the subview from Interface builder. I am attaching a screen for that h...

How to Show a GPL licence in iphone application bundle.

Hi friends i am making an app for iphone and for that i am using certain free libraries.My problem is that i want to show their complete license of nearly 4-5 pages in my application bundle so that a user can open settings in iphone and see that licensing page at one time but i am unable to do it.I have read these Specifiers for making...

Using ASIHTTPRequest and json-framework on the iPhone

I'm planning on using both these libraries (or wrappers?) in my upcoming iPhone app. I see one of the top reason applications get refused, is due to using private frameworks/API calls. Is ASIHTTPRequest and json-framework considered such, or can I safely use these? ...

How do I draw this exact gradient on the iPhone?

The gradient in question is Figure 8-5 from the Quartz 2D Programming Guide, "A radial gradient that varies between a point and a circle". I'm trying to build a CGGradient object (not a CGShading object, which might be the problem) like so: CGColorSpaceRef rgb = CGColorSpaceCreateDeviceRGB(); CGFloat colors[] = { 0,...

RTL shows numbers at the end of lines

Hi. Trying to display a hebrew string that starts with a number, always displays the number at the end of the string like so: 1. יום שישי בבוקר but I need the number to be displayed at the right side of the text- any solution to that? It happens with UILabel & UITextField & UITextView and trying to write the number at the left side...

Playing sequence of PNG files in cocos2d iphone

I want to play an sequence of png files for animation. I tried executing the following code in cocos2d iphone -(void) onEnter { [super onEnter]; roadSprite=[[Sprite spriteWithFile:@"R00.png"] retain]; [roadSprite setPosition:ccp(240,160)]; [self addChild:roadSprite z:5]; Animation* animation = [Animation anima...

iPhone + access Controls from other class

I have classes: PropertyCalcViewController .m & .h In the .h I have IBOutlet UIButton *btnGo; @property (nonatomic, retain) IBOutlet UIButton *btnGo; and in the .m file I have @synthesize *btnGo; Now I also have another class Manager .m & .h. What I want to do is that access btnGo from the Manager class and remove it from Proper...

UIButton - should we release or not?

Ok. Let me explain the situation. I want to add a button on a view dynamically. Here is the code. UIButton *x=[UIButton buttonWithType:UIButtonTypeRoundedRect]; Here, I have not used "alloc" function. The questions for this statements are as follow. If we are using imageview for the same situation, we have to create an temp imagev...

One NSFetchedResultsController vs several UITableViews — only one UITableView gets updates?

Setup: I have several UITableViewControllers (tvc) that all instantiate a separate NSFetchedResultsController (frc). All these frc-s, though, use the same ManagedObjectContext (moc). Scenario: Sometimes, from one of the tvc-s, I launch some background process to update data. The background process updates the data in a separate thread...

NSString basics - memory - retain - copy

Here is my question. NSString *xyz=[NSString stringWithFormat:@"%i %@",10,@"Sagar"]; Now I am taking other string, as follows. NSString *x2=[xyz copy]; I exactly don't know what will happen here? ( Is it something like, x2 has the ref of xyz's ref. ) NSString *x3=[xyz retain]; ( What will happen here, x3 has a new memory having...

how to give background color for selected text in text view

how to give background color for selected text in text view ? hi, Im developing text view based app. in that i have to change color for selected text. i tried using delegate methods but i not found any property like this. if any iahve any ideas , suggestions how to overcome this issue. thanks in advance ...

How to use coordinates in glClipPlanef?

I want to clip some closed path area from texture image in OpenGL ES and iPhone SDK. I found that it can be done with planes and glClipPlanef function something like this: glClipPlanef(GL_CLIP_PLANE0, v); glEnable(GL_CLIP_PLANE0); glDrawArrays(GL_TRIANGLE_STRIP, 0, 4); glDisable(GL_CLIP_PLANE0); where v is a const GLfloat array...

Categories vs Informal Protocols

Hi there, I think I understood the difference between (formal) Protocols and Categories. Now, if I got it right, informal protocols should be categories (usually defined on NSObject) which are used for certain purposes (maybe to give the chance to implement only a part of the methods listed in it, unlike formal protocols). I need to be ...

Objective-C: Best way to store error messages

What's the best way to store error messages (specially while developing with Xcode and Objective-C for Mac and iPhone): Creating a separate class that contains list of error code and corresponding messages .plist of error code and corresponding messages Localizable.string file with error code and corresponding messages (the applicati...