I have a UIView with an UIImageView dragged onto the view. All of a sudden, for all my xibs, the image no longer shows up. There is a blue X. However, when it builds, the image is there.
At one point, I deleted and regenerated all my images and moved some into a subfolder in Xcode. Normally, when you go to select an image for an UIImage...
I need to implement 'graphing paper' in an iPhone app. The user should be presented with a grid. They user can touch individual squares to turn them on, or if they're already on, off.The user can pinch to zoom and scroll around the paper as well..
So far I'm thinking Quartz 2D + UIScrollView is the way to do this but these are both are...
I know the iPhone has the ability to connect to an ad-hoc network; can it create one?
...
I've tried some code from each of these questions:
How to make one color transparent on a UIImage?
How to mask a UIImage so that white becomes transparent on iphone?
but have come up unsuccessful, unfortunately working with Core Graphics and images is not my strong suit.
How would I go about accessing a UIImage's raw data and changin...
I want to call a method when the done button is clicked in the UITextField KeyBoard? Please Help me...
...
I'm using following conditions in-order to make sure that the location i get has adequate accuracy, In my case kCLLocationAccuracyBest. But the problem is that i still get inaccurate location.
// Filter out nil locations
if(!newLocation)
return;
// Make sure that the location returned has the desired accuracy
if(newLocation.horizon...
Hello,
i have problem when user login then i want to show the user profile data in my UIView.
How can i access user profile from facebook when user gets login?
anyone suggest some solution would be great.
Thank You.
...
Hi Friends,
I want to get the frames from a live video been seen when the camera is opened from my application.
Is it possible in latest SDK (3.1) for iphone.?
Any hint or direction would be highly appreciated
Note: I dont want the user to record the video and then get the frames later on.
Thanks in advance.
...
I'm trying to reuse a group of Obj-C clases between iPhone applications. The values that differ from app to app have been isolated and I'm trying to figure out the best way to apply these custom values to the classes on an app-to-app basis.
Should I hold them in code?
// I might have 10 customizable values for each class, that's a lon...
Hi, All
i want to convert my webpage(displayed in UIWebView) contents in pdf file.
which can be stored at perticular directory (document dir/any user defined dir).
So later on it can be viewable to user either internet connection not available.
is there any possibilities to perform this functionality.
how can i do this...
Thanking ...
Dear All,
I have a sqlite3 database which saves the images. I am trying to retrieve al the images from the database, but the statement executes once and then it throws exc_bad_access error. If i remove the while keyword and add if instead, the code works fine.Please help.
The code is attached below
if(statement=[self prepare:sl...
Hi,
I am currently using Audio Queues on the iPhone to record and playback audio.
What I would like to be able to do is to record some audio, allow the user to pause the record queue, and to seek back and forward through the audio to select a position from where they can start recording from again.
I have got over the seeking issue by...
here i am using presentModalViewController and dismissModalViewController with animation set to "YES" in both cases. Which works fine.
However, after the modal view is dismissed, all of the content on the main view has moved up what looks like 20px.Its effect all the viewcontroller.
Any idea why did it happen and how to overcome it.
...
Hi,
I'm using Amazon's simpledb in my app. When parsing xml it gives an error with the code 5.
ie. NSXMLParserErrorDomain error 5.
Sometimes it works fine and without any significant change in the navigation is gives that error. Again it works fine when i restart the app several times without doing any changes to the code or navigation...
-(IBAction)ButtonPressed:(id)sender
{
const char *sql = "SELECT AccessCode FROM UserAccess";
NSString *sqlns;
sqlns = [NSString stringWithUTF8String:sql];
if([Password.text isEqual:sqlns])
{
NSLog(@"Correct");
}
else {
NSLog(@"Wrong");
...
Hey guys,
Although I've searched the Board and used google, I didn't get any useful results.
I've trying to make a subclass of UIView loading its view from a xib file.
My approach is the following:
1. Creating a subclass (named mySubclass):
@interface mySubclass : UIView {
}
@end
Creating a view through:
Add New File...
User Inte...
I have a requirement where i have a textfield in a view. When i want to open the view by switching the tab(TabBased Application),first time when the view is loaded the keyboard appears because i loadview method is called. But when i switch to tab2 and again switch to tab1 again, load view is not called. I want the keyboard to appear ever...
Is it possible to open a PDF from a website in Safari in order to save it to local disk?
...
How can I be notified that the screen/phone was locked while my app is running? I want to suspend some timers related to refreshing the display in such cases.
...
Hello!
Many apps already in App Store has ability to print from iphone without installing any software on computer. Like for example Air-Sharing.
Do anyone have any idea how they're doing it, how they're able to detect from iphone all printers shared in the network and print with them directly from iphone ??
Any suggestions would be a...