I am using CATiledLayer to display a pdf page..
But the layer do have some time to draw context.
Therefore, I try to add an background beside this layer and remove the background after CATiledLayer is successful display..
My question is Is there any ways to detect the drawing status of CATiledLayer?
Thanks for your help.
...
Hey guys, so I've got my NSFetchedResultsController working fine under the 3.1 SDK, however I start getting some weird errors, specifically in the delegate methods when I try it under 3.0. I've determined that this is related to the NSFetchedResultsControllerDelegate methods. This is what I have set up.
The inEditingMode stuff has to do...
Hi All,
3 weeks back we uploaded an application on the iTunes(V1.0). On Thursday we updated that application with new build (V1.2). I clicked the "Update" button on itunesconnect.apple.com and followed uploaded the new binary and new contents.
On the next day the Description and price tag are updated successfully, but the build versio...
In this program when I debug, it is showing the nil for fileNameString. I could not understand what is the problem. Please help me ?
@implementation fromFileRead1
NSString *fileNameString;
-(id)init
{
if( (self = [super init]) )
{
fileNameString = [[NSString alloc] initWithContentsOfFile: @"enemyDetails.rtf" encoding:N...
I have a bluetooth card swiper, i need help to start coding for swipper. i dont find help in sdk and online. is there any other way to user blue tooth device on iphone like credit card swipper.
Thanks and Regards.
Deepak.
...
I used,
for(id value in values) to get the value from an NSArray. Now I want to store it in 2 dimensional float array[][]. When I try to assign the values to array it is giving error:incompatible types in assignment.
I tried to cast the value but I got error: pointer value used where a floating point value was expected. I need to stor...
Hi, how to pass multiple arguments in a single function in Objective-C? I want to pass 2 integer values and the return value is also integer. I want to use the new Objective-C syntax, not the old C/C++ syntax.
...
Hi,
I tried to add buttons, textboxes and text to tableview. I want the row height to get adjusted automatically according to the height of each ui component. How can i achieve this ?
...
Hello All...
I am on the edge of submitting my first iPhone Application.
So, now I have little confusion in the submitting process..
My application is only for iPhone and ipod touch users only, not for the ipad (yet). So, i don't know where I need to specify this option while submitting app to the apple. If anybody can help me then it...
Hi,
How to change the UITextField to oval shape ?
link shows a screenshot of that
...
All of the data on my application is pulled through an API via JSON. The nature of a good percentage of this data is that it doesn't change very often. So to go and make JSON requests to get a list of data that doesn't change much didn't seem all that appealing.
I'm looking for the most sensible option to have this JSON saved onto the ...
Hi there!
We have a MKmapView with a bunch of Image Annotation where each Image annotation responds to touch
by overriding these methods of AnnotationView subclass:
-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event;
-(void) touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event
Our map region is updated using
[Mk...
I got this error from XCode:
objc[8422]: FREED(id): message release sent to freed object=0x3b120c0
I googled and find that is related to the memory. But I don't know which line of code I go wrong, any ideas? After I launch my app in simulator, it prompts a second, than, no other error except the error above.
@implementation MyAppDele...
Hi. I'm trying to get iPhone device token using following code
- (void)applicationDidFinishLaunching:(UIApplication *)application {
// Override point for customization after app launch
[window addSubview:viewController.view];
[window makeKeyAndVisible];
NSLog(@"Registering for push notifications...");
[...
I have an iPhone 3.1.3 app which has only 2 methods of input in its main view. It has an info button to switch to a flipside view, and the only other input it takes in the main view is accelerometer movement. I want to switch off the accelerometer input when in the flipside view but haven't been able to find out how. I have the main vi...
No, dropping the videos to
~/Library/Application Support/iPhone Simulator/3.2/Media/DCIM/100APPLE
does not work totally, because the simulator can see the video on Photos.app, but when I try to pick a video using UIImagePickerController my application crashes.
I think this may have some relation to the format the video has to have. I...
Is it possible to set a custom URL scheme to launch my app from a link but make this a user defined setting?
My app relies on a user defined server url and I would like to be able to set a URL scheme to launch my app using the users custom URL from lets say an email link.
I noticed the info.plist has these references
${EXECUTABLE_NAME...
Hi,
I 'm a iphone programming newbie. I m trying to implement an app with multi-level tableviews.
The idea is if someone selects something on the first screen say then a new view opens(tableview)
car make> list of models
Honda > Acura, S2000,accord ...
My challenge is to show the list of models in a new tableview & secondly ch...
Im trying to use Date Formatters (NSDateFormatter), but I keep getting this error:
Program received signal: “EXC_BAD_ACCESS”.
Data Formatters temporarily unavailable, will re-try after a 'continue'. (Unknown error loading shared library "/Developer/usr/lib/libXcodeDebuggerSupport.dylib")
...
I'm a newbie and I need some help.
I want to display a popup image over a given UIView, but I would like it to behave like the UIAlertView or like the Facebook Connect for iPhone modal popup window, in that it has a bouncy, rubbber-band-like animation to it.
I found some code on the net from someone who was trying to do something simil...