Hi guys,
I try to record a video.
The message I got is from the following code on the device:
UIImagePickerController *imagePickerController = [[UIImagePickerController alloc] init];
imagePickerController.sourceType = UIImagePickerControllerSourceTypeCamera;
imagePickerController.allowsEditing = YES;
imagePickerControll...
Hi,
We have our app all ready to upload to Apple for approval but have unfortunately hit a brick wall when trying to upload the binary due to an issue with the Binary ID.
In iTunes Connect the Bundle ID shows as GTYOP2FEGW.com.mycompanyname.myappname (I've replaced some of the values here for privacy but the structure is the same).
Wh...
i am getting lots of error.
it works with ios 3.0
when i am using the Ad-mob with ios 4
can anybody give me the proper guidance,link or tutorial for Ad-Mob with ios4.
...
With the following snippet, I'm adding a drop shadow effect to one my UIView. Which works pretty well. But as soon as I set the view's masksToBounds property to YES. The drop shadow effect isn't rendered any more.
self.myView.layer.shadowColor = [[UIColor blackColor] CGColor];
self.myView.layer.shadowOpacity = 1.0;
self.myView.layer.sha...
Hey Guys,
It's me again with a Cocos2D problem. :-D
I create the main character of my upcoming game as a sublclass of NSObject. This class has a property for the Sprite, Spritesheet and all that stuff. But now I have the following problem.
I want to schedule a method for animating the sprite. That action which should be scheduled ever...
Hi,
I have a window with a UIView and a transition to another UIView. But when I do the transition, the window to transition to is displayed in portrait, and after the transition is finished, it goes to landscape.. But I want the UIView to be in landscape BEFORE the transition because otherwise the screen looks f*cked up because the bac...
what is wrong with this? I really don't understand some important parts for UIImagePickerController....
here's the source:
UIImagePickerController *imagePickerController = [[UIImagePickerController alloc] init];
imagePickerController.sourceType = UIImagePickerControllerSourceTypePhotoLibrary;
imagePickerController.cameraCaptureMod...
[self presentModalViewController:navController animated:YES];
I have scroll view with page control and paging enabled, each page has buttons who when pressed present modal view controller with additional data.
when running on device with iOS 3.0->3.2 modal view controller on first page of scroll view animates properly (view scrolls ...
Hi there.
Does someone know a way to remove requests from an ASINetworkQueue in a persistent way? The reset function doesn't seem to do the job. What I'm trying to do is the following
- (void)fillAndRunQueue:(ASINetworkQueue*)queue requests:(NSArray*)requests {
for (ASIHTTPRequest* request in requests) {
if ([reques...
I am creating a loading screen UIView which is added to a subview while some XML is parsed from some URL. Once the XML is returned, the loading screen is removed from its superview.
The question I have is how should I release this object?
In the code below, you'll see that I send removeFromSuperview to the loadingScreen, but I still h...
Hello,
I've been struggling with this for last few days and I cannot find any solution, so I ask you for advice.
I have two UIViewControllers: NewPostUIViewController and SettingsUIViewController. In the second one I have a field:
id<SettingsUIViewControllerDelegate> delegate
and the first one implements protocol
SettingsUIViewCont...
This must be real easy but apparently its not!
I was able to successfully show the alert and get the alert buttons working in mailComposeController:didFinishWithResult:error: method but what I can't seem to understand is how do I stop the sending of the mail when someone presses NO button on the alert that goes like "Send Email?". I do ...
I did a very simple test which was creating a blank project using xCode and execute on device. When executed with Instruments I got memory leaks !
Please note that I am using iPhone 3G device running iOS 4.0.2
Here are the steps to reproduce:
From xCode 3.2.3 Choose File -> New Project -> Navigation-based Application selecting Use Co...
Dears,
I 'm a novice in iphone programming. I am trying to make an iphone App that displays mainly Arabic language content. I want to use a custom arabic font for displaying that content, not the iphone default arabic font. I used the following code:
- (void)viewDidLoad {
[super viewDidLoad];
[arabicLabel setFont: [UIFont fontW...
hi,
i have created a plist using .net environment and after the creation i set the encoding type as "iso-8859-1" in the plist encoding type. Then I tried to read it and show in the table view. The values are not as expected. It is having few characters which are of incorrect encoding type. What should i do ?
...
Keep getting EXC_BAD_ACCESS. Ran NSZombieEnabled and came up with nothing.
In simulator console:
2010-09-11 23:39:56.876 [19072:207] 1.309789, lat, 103.772196, lon
In device console:
EXC_BAD_ACCESS
The line of code:
NSLog(@"%f, lat, %f, lon",latitudeString,longitudeString);
What CLManager is doing:
- (void)locationManager:(C...
Hi there,
I've been doing my coding with Xcode 3.2.3
I've recently upgraded my iPad OS to 3.2.2.
Trying to run a provisioned development build from xcode on my iPad, I'm told:
The version of iPhone OS on “User’s iPad” does not match any of the versions of iPhone OS supported for development with this installation of the iPhone SDK. Pl...
This is my first stab at creating two targets within one project for iPhone and iPad.
My question is, if I save an array to NSUserDefaults, and the iPhone syncs with iTunes, and then I sync the iPad, will the iPad version have access to the array synced to it?
...
So it's a new millennium; Apple has waved their hand; it's now legal to include a Python interpreter in an iPhone (App Store) app.
How does one go about doing this? All the existing discussion (unsurprisingly) refers to jailbreaking. (Older question: Can I write native iPhone apps using Python)
My goal here isn't to write a PyObjC app,...
How can I organize this string better for best coding practices. It's a string that defines filters:
NSString* string3 = [[[[[[tvA.text stringByReplacingOccurrencesOfString:@"\n" withString:@" "] stringByReplacingOccurrencesOfString:@"&" withString:@"and"] stringByReplacingOccurrencesOfString:@"garçon" withString:@"garcon"] stringByRepl...