Hi all,
An iPhone SDK question: I'm drawing a UIImageView on the screen. I've rotated it in 3D and provided a bit of perspective, so the image looks like it's pointing into the screen at an angle. That all works fine. Now the problem is the edges of the resulting picture don't seem to be antialiased at all. Anybody know how to make it s...
I've been trying to figure out how to resize the drawing view on eaglview as opposed to the default 320x480 dimension. My Eaglview is attached to a UIViewController. What I really want to do is find out where viewrenderbuffer is calling its width and height parameters from.
In the code below I can see that the backing width and height a...
I've followed the guides helpfully linked here:
http://stackoverflow.com/questions/295778/iphone-debugging-pointer-being-freed-was-not-allocated-errors
but the malloc_history is really throwing me for a loop, can anyone shed any light on the following:
ALLOC 0x185c600-0x18605ff [size=16384]: thread_a068a4e0 |start | main | UIApplicati...
Hello,
I have a problem
I created this client connects to a server and then want to send and receive strings (this is not implemented yet).
When creating the connection I have a problem since the creation of the connection does not do "CFRunLoopRun ();"( tested by degbug).
Someone any idea?
Thank you.
- (void) acceptConnection:(int)fd {...
I am using instruments to resolve memory leak issues for an app in iPhone. I just wanted to know if I have to resolve the leaks coming from Foundation and CFNetwork Libraries. Specifically, the leaks are from:
1. NSCFString
2. NSConcreteData
3. General Block-3584
Since they do not directly point to the code that I have written, how shoul...
Here's an example of the type of background image I'm talking about, the iPhone Notes app...
Clearly, there's a pattern in it. My question is, if this were an iPad app and the background image was twice the size, would there be any significant benefits to taking advantage of this pattern by tiling the image? Or would it really make ...
In my iPhone OS application I want (need) to watch for chances in the device orientation in order to rearrange certain portions of the screen. The approach I used was to use GRect frame = [UIScreen mainScreen].applicationFrame to get the screen size, and from there calculate the size and / or positioning of other controls. (I also tried ...
Hi, My problem is when trying to load a detail view through a table cell, the application constantly crashes. The error that comes up when running through debug is "__TERMINATING_DUE_TO_UNCAUGHT_EXCEPTION___" objc exception thrown. If anyone can help me it would be greatly appreciated.
Here is a screenshot for the debug, I am not sure ...
hi all i've submit my app to approval process, my app is in review, when go see the details i see that to "Bundle short string" or something similar is empty.
Will it be rejected ? ?
thanks
...
I'm trying to duplicate the "slide up from the bottom" animation that [UIViewController presentModalViewController:animated:] performs but without calling it because I don't want a modal view.
The below core animation code comes very close but appears to be changing transparency values of the views during it. At the start of the animati...
The only thing that I found was Manzana but it crashes while I start the test executable. Can someone tell me some library which can I use to copy/delete files from and to iPhone? Or maybe a console tool which I can use as a back-end.
...
Looking at using either ObjectiveResource or ASIHTTPRequest ...
Which is superior for uploading images? Or is there a better option???
Are there any examples of using either or both to upload images (or any other binary content)?
Thanks
...
I have a sequence of bits for a monochrome image (0 => black, 1 => white). I want to take this data and draw an image on the iPhone in color. If a pixel value == 0, then paint it color1, else color2.
I have gotten absolutely nowhere. Originally, I thought I could use glBitmap, but it is not supported on the iPhone.
Does anyone have ...
Hi folks,
I'm wondering if there's a way to determine whether or not a font supports a particular Unicode character in Cocoa Touch.
Alternatively, is it possible to specify the default substitute character?
...
Hi, I have an iPhone app that will let users email some pre-determined text as HTML.
I'm having a problem in that if the text contains special characters within the text (e.g., ampersand &, >, <), the NSString variable that I use for sending the body of the email gets truncated at the special character.
I'm not sure how to fix this (...
I'm trying to debug an iPhone app I'm working on, and the idea of adding fifty NSLog statements to the various source files gives me the willies.
What I'd like to do is write a pair of statements, say
NSString *methodName = [self methodName];
NSLog(@"%@", methodName);
that I can just paste into each method I need to. Is there a way t...
Hi There,
I currently have an iPhone app that reads data from an external XML file at start-up, and then writes this data to the database (it only reads/writes data that the user's app has not seen before, though)
My concern is that there is going to be a back catalogue of data of several years, and that the first time the user runs th...
I have a custom UITableViewCell which I created in Interface Builder. I am successfully Dequeuing cells, but as I scroll, the cells appear to begin calling different indexPaths. In this example, I am feeding the current indexPath.section and indexPath.row into the customCellLabel. As I scroll the table up and down, some of the cells will...
This should be easy but its got me stumped. I've got a button on each row of a table cell. The button is to delete the file associated with that row. I have an image that indicates if the file is present on the iPhone or not present.
When the user presses the button, the target action method (showDeleteSheet) then calls a UIActionS...
I have the iPhone SDK 3.2 installed and been working on an iPad application. However, the iPad simulator doesn't show the two gray multitouch "cursors" when I hold down the ALT/OPTION button and move the mouse around. This only happens when the simulator scale size is set to 100%. If I have it set to 50% they show up. When I have it set ...