Hello all,
Actually i am stuck at problem using three20 photo gallery. I used it
in one of my tabbar item which has tableview one cell of table push
three20 photo gallery. it works but there in no tabbar in gallery and
no back button.
Please help me out.
...
Hey
i have some problem to decrypted a file, which was encrypted using a C# AES256 implementation with an IV (in vector) as an 16bit byte-array and 32bit byte-array for the key. For decryption i used Apple's CommonCryptor CCCrypt, but my key is an NSString. So how can i convert the NSString to an 32bit byte-array/unsigned char?
...
I make a
self._facebook authorize:kFacebookAppId permissions:self._facebookPermissions delegate:self];
call which opens the Facebook login dialog.
In case there is no network the dialog opens momentarily and fbDidNotLogin method gets called. In case there is network the dialog opens but the same method fbDidNotLogin gets called if ...
Hey,
Does anyone know if you can detect if headphones are plugged into the iPhone, and if they aren't - disable sound from your application.
I think I could manage disabling sound, but the detection part I have yet to find anything on.
Thanks
...
HI,
Due to formatting issues, I'm converting floats to NSNumber in my iPhone app. Although it generates proper strings it crashes program after releasing the object.
I wrote simple program as console app for Mac OS X and same problem occurs. Can anybody advise how to solve that? Here is the code sample. All 3 messages are written to l...
Hi guys, I have a View Controller in which I have UIwebView created in IB.
IBOutlet UIWebView *webView;
@property (nonatomic, retain) IBOutlet UIWebView *webView;
@synthesize webView;
this webView has retainCount = 2 in viewDidLoad. Why?
Thanks
...
Hi,
What is causing the leaks in this code? I really cannot understand it.
On thes lines:
1: NSMutableArray * days = [[NSMutableArray alloc]init];
2: [dic setObject:days forKey:key];
3: [days addObject:value];
The whole method:
-(void) addValueToDictionary: (NSMutableDictionary *) dic withValue: (NSNumber *) value forKey: (NSString *) ...
I have the application which allows the users to play songs. I want to allow the user to listen to a maximum of three songs before forcing the user to log in. The user should be able to listen to these three songs during the course of the day, but if they still haven't logged in they should no longer be able to listen to these songs.
Ho...
I have a view controller called GobanVC. It's adding a subview to do a magnification effect. That works fine, but when I call removeSuperview to get rid of it, I get an unrecognized selector error:
2010-08-26 10:10:04.014 GoGrinder[4257:207] -[GobanVC _invalidateSubviewCache]: unrecognized selector sent to instance 0x5a2f540
2010-08-2...
I am attempting to place scroll view within a UIView that is smaller than the entire iPad screen. I simply add the scroll view as a subview of the UIView and it appears just fine, however when I scroll it, it moves outside of the bounds of that UIView effectively covering up any UI elements that are placed above it.
Is there some way to...
My teacher recommended TBXML so I used it, but I've noticed there are others such as the built-in NSXMLParser.
Whatcha say?
...
You can scroll an UIPickerView both by swiping and by tapping items under or above the selection belt.
You can populate an UIPickerView by either specifying NSString as titles or reusable UIViews for each row.
What I've noticed is that when I switched from providing strings to providing view, tap to scroll no longer worked. Is this exp...
I want to be able to load data from my API server in the background of my iPhone app. How do I achieve this?
...
I'm a newcomer to the iPhone world. (Previously, I've developed for android.)
I've got this code in one of my Android apps:
String body = "<Item type='Customer' id= '"+id+"' action='delete'/>";
What's the same in Objective-C?
...
Hi there!
I'm making a game which requires multiple images to be drawn on the screen. The code I'm using for this is:
- (void)drawRect:(CGRect)rect {
for (i=1;i<=totalImages;i++) {
if (imageExists[i]) {
[image drawAtPoint:CGPointmake(imageX[i],imageY[i])];
}
}
}
This drawRect is called by a function:
...
I'm trying to build open_cv on the iphone. I'm a pre-compiled version of it from http://github.com/niw/iphone_opencv_test and am seeing the following build errors...
"_cvCvtColor", referenced from:
+[PFFaceDetection CreateIplImageFromUIImage:] in PFFaceDetection.o
"_OBJC_CLASS_$_PFImageEffects", referenced from:
ob...
I'm making a couple audio apps, and one snag I've run into several times is code I write for the iPhone doesn't work on the iPod Touch.
When using low-level audio, having no audio input route can crash the app when initializing an audio session.
Is anyone aware of how to simulate no available audio input in the iPhone simulator?
EDIT...
Hello,
I wonder when I should use Core Data and when I just should keep it easy and use delegate variables?
...
Graphics development for iPhone4 and old iPhones was changed in several ways:
The concept of point was introduced
to replace pixel.
Methods of UIImage will load high
resolution resource files with @2x
in the file name.
Scale factor was added to UIScreen,
UIView, UIImage, and CALayer
classes.
So if we handle CGImage carefully, it's no...
Hey All,
I have problem with the way I treat the memory management in iphone..please please help me..I am running out of ideas..I tried to play with the below method but it started leaks when I am trying to allocate the strings for the objects (for example allocation for sid,first_name etc)..I can't figure out how to do..and this is the...