I am writing a gui wrapper for gcc for a jailbroken iphone, etc. and it is almost done. However, I get this output when it is run ld: can't open output file for writing : a.out, errno=1 collect2:ld return 1 exit status.
I believe this has to do with the privelages the app runs with. I have tried the setuid trick in the cydia developer fa...
hi,
I have been struggling with a cell disclosue button... First it was saying it is depreciated as I was using:
Code:
-(UITableViewCellAccessoryType)tableView:(UITableView *)tableView accessoryTypeForRowWithIndexPath:(NSIndexPath *)indexPath {
return UITableViewCellAccessoryDetailDisclosureButton;
}
So I commented that out and adde...
I have a working application
before the first view is loaded, i put an alert in the viewWillAppear method:
- (void)viewWillAppear
{
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"MyAppp" message:@"Application will connect to Internet. Continue?"
delegate:self cancelButto...
hello, i am looking for an easy to use photo gallery however i need to find an easy to implement one that has good and clean functionality.
Any solutions?
...
Hello all,
Is it possible to use MKPinAnnotationView controls in a application that has nothing to do with maps.
I do not want to use MKMapView, I just want to reuse the MKPinAnnotationView control and be able to drop it at a specific screen coordinate.
Thanks,
Cristian
...
Hi,
I've created a pList (myData.plist) in XCode & populated it, but when I run the program it's not being copied to the iphone simulator directory. Hence, I can't read from it. I've logged the filename and it appears to be pointing to the correct place, there's just no plist file there (confirmed in Finder)
NSArray *paths = NSSearch...
So say in my viewcontroller's .h file I have:
@interface MyViewController : UIViewController {
IBOutlet UILabel *myLabel;
IBOutlet UIView *myView;
IBOutlet UIImageView *myImageView;
IBOutlet UIButton *myButton;
NSNumber *myNumber;
NSString *myString;
NSMutableArray *myArray;
UILabel *myCurrentLabel;
SomeObject *myObject;
CGPoint my...
I have an app with a tab bar with two tabs. One tab displays a UINavigationController, the other a UIViewController that I have customized.
What I have noticed is that if switch tabs to the UINavigationController tab then navigate a few levels deep in UITableViews, if I click on the current tab on the UITabBar the UINavigationControlle...
I'm trying to compile my app (which is a scanner (a fake ;])).
But in the simulator (and in my iTouch), the app crashes.
This is what I've got :
[Session started at 2010-10-03 00:25:56 +0200.]
GNU gdb 6.3.50-20050815 (Apple version gdb-1472) (Thu Aug 5 05:54:10 UTC 2010)
Copyright 2004 Free Software Foundation, Inc.
GDB is free soft...
I have a custom class, derived from UIView, called Element. In Element I set up some IBOutlets to handle some UIImageViews I have in my XIB.
My ViewController adds the Element object to a larger view where the Element moves around. And I added an Object with class Element in IB, and connected the Outlets up through that. But in my Eleme...
I am running an "iPhone-only" app in the iPad simulator...When the orientation of the device is changed to landscape mode, I have a view controller that kicks in and programmatically loads a WebView. This works swimmingly in the iPhone (no gap on top of landscape view), but when simulating in the iPad, there's a 20px (I think?) gap at th...
I am calling other view controller name "cityState" on button click which has table in it.
code for calling that view on button click(which has table):
[self presentModalViewController:cityState animated:YES];
now in this view controller I am loading my table with data, its working fine for first time.
For example numberofRowsI...
I use a .xib to layout my viewController and have 10 IBOutlet objects that IB uses, none of them have @properties assigned to them (no @property(retain) IBOutlet...). When I release the viewController none of those objects are being released, I have to manually release them in the dealloc of the viewController.
This doesn't seem like n...
I am writing an application that records audio. I am looking into the feasibility of supporting multitasking while doing audio recordings (in the background).
The answer seems to be a no from what I've read so far, especially since the program is meant to release any system resources being used when switched out.
So I am wondering, is ...
So I have this iPhone app with a nested setup like this:
[RootViewController]->[UITabBarController]->[UINavigationController]->[subViewControllers]. Everything is built programmatically, not in Interface Builder.
I'm simply trying to support all device orientations. All of my AutoResizing masks are set up and everything rotates and expa...
I have a UIImageView based class.
At the start of this class, I have this.
if ([super initWithFrame:frame] == nil) {
return nil;
}
self.layer.cornerRadius = 6.0;
self.layer.masksToBounds = YES;
self.layer.shadowOffset = CGSizeMake(3,3);
self.layer.shadowOpacity = 0.7f;
self.layer.shadowRadius = 5.0;
...
When creating an UIImage with corrupt/incomplete JPEG data, the console will print out
<Error>: Corrupt JPEG data: premature end of data segment
The incomplete image will be shown, with grey filling up the incomplete part. I do not want this to happen.
I desperately tried with a try-catch block but it does catch the error. Is there a...
Hi,
I want to show gray circle with the white x in the right-side of the field which on click will delete the content of the textfield.
...
I've masked out my image thusly:
CGImageRef maskRef = [[UIImage imageNamed:@"testMask2.png"] CGImage];
CGImageRef mask = CGImageMaskCreate(CGImageGetWidth(maskRef),
CGImageGetHeight(maskRef),
CGImageGetBitsPerComponent(maskRef),
...
I have searched the web, but have been unable to find the OolongEngine.zip to download (ie. a link that actually works).
Can anyone help?
...