From what I have gathered, wrapping text around an image is possible using a UIWebView displaying a local html file. (I have a local html file called index.html)
The following code inserted in the viewDidLoad method seems to crash the application with error. *** Terminating app due to uncaught exception 'NSInvalidArgumentException'
Thi...
Possible Duplicate:
How to sort an NSMutableArray with custom objects in it?
Having trouble with something basic (I think).
I have an NSMutable array that I populate with "workout" objects. The "startDate" method returns an NSDate - and I'd like to sort the array off this.
The NSSortDescriptor *sortByDate line terminates du...
Now MonoTouch supports iPhone OS 4 with current 3.0.6 version but Apple banned all programming languages beside C/C++/Objective-C. So it is confusing why Novell supports iPhone OS 4 if it is banned? Is there any exception for MonoTouch we don't know yet? I am aware of previous stackoverflow question Is MonoTouch now banned on the iPhone?...
I am trying to make a UIImageView move when I tap a button. I have set a UIIAction to start an NSTimer. When tap the button, the character(UIImageView) moves fine. When I tap the same button again, the character speeds up and so forth so eventually he is moving a billion mph. How do I solve this? Here is the code:
(void)animateCha...
When calling reloadData on a UITableView what methods are actually invoked?
[tableView reloadData];
...
I am trying to append objects to my data source and then reload the table. Is this the correct way of approaching it?
self.items is my datasource
//Copy current items
self.itemsCopy = [self.items mutableCopy];//[[NSMutableArray alloc] initWithArray:self.items copyItems:NO];
NSLog(@"Copy Size before append: %d",[itemsCo...
Has anyone implemented the DIRAC2 library from http://www.dspdimension.com/technology-licensing/dirac2-iphone/ for real time pitch correction on the iPhone? The library doesn't appear to support real time processing but perhaps someone has done it?
Thx
...
Hi.
I have one UITableView with a custom cell loaded from a nib file, it works fine.
When I select a row(named CustomCell1), It is possible to load another CustomCell2 and replace CustomCell1 with it?
I guess I have to use didSelectRowAtIndexPath() but I don't know how.
Any ideas?
Thanks.
...
I have an MKAnnotationView subclass called ImageAnnotationView. It basically displays an image on the map. I want the regular MKAnnotationView views (the default pins) to appear above the ImageAnnotationView views.
This is what I've tried so far but it doesn't seem to work:
- (void)mapView:(MKMapView *)imapView didAddAnnotationViews:...
Hi,
I am intersted in developing packages for iphone, which I can use directly in my iphone applications when required.
can anyone help me with some good links.
Thanks,
...
I've noticed css sprites seem to show 1 more pixel than they should when viewing them on the iphone. My site works perfectly fine on all major desktop browsers on mac and PC. But when I view it on the iphone you can see 1 pixel of the adjacent sprite image.
Anyone encounter this before? Any suggestions on how to cleanly fix this? I k...
I wonder in which cases it would be good to make an NSManagedObjectModel completely programmatically, with NSEntityDescription instances and all this stuff.
I'm that kind of person who prefers to code programmatically, rejecting Interface Builder. But when it comes to Core Data, I have a hard time figuring out why I should kill my time ...
Hey.
I'm loading in a UIWebView from another class, and that works great.
But now I need to know how I can implement these delegate methods:
- (BOOL)webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)request navigationType:(UIWebViewNavigationType)navigationType
// AND:
- (void)alertView:(UIAlertView *)alertView c...
Hi everyone,
I didn't anywhere the solution to my problem. Basically, I just want to add a ToolBar while using TTNavigator for managing the navigation of my application.
The ToolBar is the same one can have with UINavigationController :
self.navigationController.toolbarHidden = NO;
I don't think it's difficult to set up :)
Hope someon...
Alright, in my rootViewController, I am able to push another viewController that I defined myself onto the screen. However, when I make any connections between that viewController and its own .h file, the program just hangs and crashes, giving me this error:
2010-06-04 15:36:13.944 pooldocfinal[11971:20b] * Terminating app due to uncaug...
I recently had an issue with my in-app purchases, so had them rejected. I found that upon creating new ones and approving them, I am getting no products back from my SKProductsRequest. Do new in-app purchases require some delay to be updated on their servers or is there some common reason that they stop working when an app is rejected?...
Hi there. I have created a grid with 40 x 40 vertex3D (small but useful)
I can pick a single vertex out of that grid by simply calling a function with the position array[X][Y], And therefore neighbors too. How can I raise up neighbor vertex Z value so they kinda look like a bubble or sphere kind of thingy?
My first tough was to use:
N...
Let's say I have an UIImageView, and I wanna show only blue and green colore from it, (RGB colors). Like in Photoshop, I can choose what colors to show, red, blue, and green, so in the image to delete the red color.
So how can I do it? I really new in Objective-c and all :)
...
I can't seem to get this working using stringByEvaluatingJavascriptFromString. Apparently the webview does something peculiar to youtube videos (due to the YouTubePlugIn.webplugin perhaps?) and the javascript API is unusable.
The problem I'm having: How do I pause\stop a video when the user navigates away from a UIWebView with an embedd...
Hey.
I'm trying to use a UIWebView for displaying content higher than the screen of the iPhone, without needing to scroll in the webView itself.
The webView is placed under a UIScrollView in IB with some other objects that I want the scrollView to scroll up and down with the UIWebView.
I know you can do this with a UITextView (CGRect ...