I use below code for get photo from photo library but with this code i can get photo that exist in save photo not all photo that exist in photo library
-(void)addphoto
{
UIImagePickerController * picker = [[UIImagePickerController alloc] init];
picker.delegate = self;
}
- (void)imagePickerController:(UIImagePickerController *)picker di...
I am trying to to establish a connection between my app and an internet service and I am using asihttprequest but I'm having a small problem. Everything works great when I am on WiFi but when I turn it off and use GPRS(EDGE) or 3G nothing seems to work. Should I change something.
Here is some of my code
[self setRequest:[ASIFormDataRequ...
Hi All,
I am planning a apps which is similar as "ColorPlay" on the app store for my final year project.
I would like to do a fill in the color at the specified area on the image. Is anyone know how to do it?
Thanks alot
...
I get a leak on the code below, any idea why? I am not allocating anything so why does it leak? It leaks 32 bytes
NSString *username = @"";
NSString *myString = @"some text";
NSRange range = [myString rangeOfString:@"username="];
//instrument shows a leak on the line below
username = [myString substringToIndex:range.location + range.le...
Hi,
I inherited some source code and am now trying to adhoc compile it.
However, I'm seeing this error message
CodeSign error: The entitlements file '/Users/teepusink/Documents/i_think_the_original_guys_path/Entitlements.plist' is missing
Where can I change that path? I do see that there exist an Entitlements.plist file and I've chang...
.h file
UIImage *ownImg;
@property (nonatomic, retain) UIImage *ownImg;
.m file
In viewWillAppear method:
UIImage *myImage2 = [UIImage imageNamed:@"thumbnail.png"];
self.ownImg = myImage2;
That is a leak in ownImg, anyone know why it leaking?
BTW, what is the different of using self.ownImg and without the self.
Thanks.
...
In my application i will show the badge number in springboard icon. But after the user deleted the application and install it back, the badge number automatically show at the springboard icon.
My question is how to set the badge number to 0 when user deleted my application.
Which method it will trigger when user delete the application?
...
I have 2 projects. One is a library that I am compiling to a .a file and the other is the application. The library has a class (AdFactoryView) that extends UIView that is used to display ads. Previously I was creating the AdFactoryView programmatically calling initWithFrame, now I'm trying to put the class directly into a nib and use it ...
I face a very weird experience, when i receive multiple notification and then didn't response to it immediately. After a while, i pressed the view button and it open my application and show black screen.
BTW, the application is running at background when i click the view button and it also doesn't trigger didReceiveLocalNotification.
D...
What is the difference between the "label" and "hint" property if I'm trying to make a control accessible? Moreover, what do the "traits" do? Are all of these properties spoken by VoiceOver if I fill them in?
...
Hi, I have a UITableView inside a UIViewController that is using ABPeoplePickerNavigationControllerDelegate.
It looks like this:
@interface MyViewController : UIViewController <ABPeoplePickerNavigationControllerDelegate> {
}
In the .xib I have a UITableView that I need to populate with data stored in CoreData. How can I go about doin...
Hi,
I am getting these error messages when trying to send my application's binary to Apple.
Info.plist does not contain a CFBundleResourceSpecification
Application failed codesign verification. The signature was invalid, or it was not signed with an Apple submission certificate.
Not sure what's wrong. Can anyone help?
Thanks.
...
For the app I'm currently working on, one of my main ViewControllers contains two UITableViews whose contents vary based on what's stored in my model (Core Data backed by SQL). Both tableviews set their delegate and datasource properties to the shared VC they're both subviews of, and I provide the necessary methods in the VC to respond ...
hi i am new to iphone.What i need is i have to get image through XML parsing and that image is from local folder.I am trying this using this link http://www.iphonesdkarticles.com/2008/11/parsing-xml-files.html. what i am doing is store the name of the images in the xml and fetch the name accordingly...it gets name but image is not displa...
Say I have core data objects of type "obj" that has a property "propertyA" and a one-to-many relationship with an object of type "sub" that has two properties, "propertyB" and "propertyC".
I want to fetch all the objs that have propertyA equal to a value and a sub obj with propertyB and propertyC set.
If it was just propertyA and pro...
Ok this is an easy one for most of you and a pretty basic question, but I quite don't get the full concept yet .
I've got a window based application, it contains 2 views, so far so good, everything is working but now I`m trying to do a modalTransition, which requires a ViewController ( which I don't have ) . What is the best way to atta...
application is based on facebook authentication & message post on wall
after googling ifind some code in this uses NSRegularExpression & NSTextCheckingResult it generate some error becoz this class compatible with ios4 or lator but i using ios3.1
for removing this what i do (i know to resolve this NSString's rangeofstring or substring ...
hi,
how can i access a subview i added in another view controller? Like
DummyViewController:
- Subview 1
- Subview 2
TestViewController:
- Subview 3
Now I want to access the properties of Subview 1 (DummyViewController) in Subview 3 (TestViewController).
Thank + Regards
...
As per the guideline, Apple has blocked third party ad engines like admob to be used in applications of iOS4. But i still can see the admob running on OS 4 without any problem.
Has apple not blocked the service yet? can i use admob on my OS 4 application for revenue?
...
I'm developing a site with jQTouch, but it doesn't have style for a search bar. Has someone come across a library or css for the iPhone search bar like the image below?
...