Hello everyone.
So far I've managed to create an app for iPhone that takes multiple images with about a 3 second interval between each. I`m processing each image in a separate thread asynchronously and everything is great till it gets to the moment for saving the image on the iPhone disk. Then it takes about 12 seconds to save the image ...
Hi Guys,
I am receiving iPhone device token in the form of NSData object.
When I tested my notifications script function, I have only copied that object from log and the notifications went fine. However when I try now to automatically do it, I am sending the device token as ASCII encoded string in the form of variable
self.deviceToken...
Hi,everyone:
Now i have a navigation app which need to update the UIView when user touch the screen. I use
- (void) touchesMoved:(NSSet*)touches withEvent:(UIEvent*)event {
//
}
I update the UIView content by use "[self setNeedsDisplay]" after the view redraw the whole map in current thread.
The Problem is the drawing action is a...
I am in a situation in which I need to display particular pixels of an Image in an ImageView.
Is there any way to do this in iPhone?Can anybody provide some Example code to do this?Please help me to solve this problem.
...
Hi,
I am doing multi touch on UImageView means zoom in and zoom out on image view. I am using followng code but it doesn't work very well. Can anyone look at this code,
#import "ZoomingImageView.h"
@implementation ZoomingImageView
@synthesize zoomed;
@synthesize moved;
define HORIZ_SWIPE_DRAG_MIN 24
define VERT_SWIPE_DRAG_MAX ...
Hi all, is there a way to stretch the bubble tha shows the details of an Annotation?
I need to use an accessory view and thus modify the size of the bubble.
Apparently it seems to be drawn in the lower layer and all views are drawn over it.
Thank you!
...
i have soome image (.jpg,.png etc) stored in my web server.
i am building an iPhone application which can upload or download images from/to my webserver.
i can upload images to my web server.
but i can not download images from my web server to my application.
How i can do it????
...
Hi
I've subclassed UITableView (as KRTableView) and implemented the four touch-based methods (touchesBegan, touchesEnded, touchesMoved, and touchesCancelled) so that I can detect when a touch-based event is being handled on a UITableView. Essentially what I need to detect is when the UITableView is scrolling up or down.
However, subcl...
Hi Guys, here si my code in appDelegate
- (void)CheckViewToSettingsView:(id)sender {
tabBarController = [[UITabBarController alloc] init];
SettingsViewController *view1 = [[SettingsViewController alloc] initWithStyle:UITableViewStyleGrouped];
NotificationSettingsViewController *view2 = [[NotificationSettingsViewController alloc] initWi...
I want to separate a string with the occurrence of the Uppercase letters.
Suppose I have an string like "IAmABoy".I want the resulting strings like
I
Am
A
Boy.
How to do this? Is there any sample code? Please show me the way to do this.
...
I'm trying to do some animations using Core Animation on the iphone. I'm using CABasicAnimation on CALayer. It's a straight forward animation from a random place at the top of the screen to the bottom of the screen at random speed, I have 30 elements that doing the same animation continuously until another action happens. But the perform...
I've created a UIButton subclass so that I can stick a custom view into a standard toolbar button. All it does, is create a stretchable image for the background, and then adds a custom view with userInteractionEnabled set to NO so the button handles all clicks. The code is here:
- (id) init {
if (!(self = [super init])) {
...
Hi,
I have the following methods in my class:
-(IBAction)loginToAccount:(id)sender {
// Display the network activity status indicator
[UIApplication sharedApplication].networkActivityIndicatorVisible = YES;
// Show the load indicator
[self.loadIndicator startAnimating];
self.loadIndicator.hidden = NO;
self.loadLabel.hidden = NO;...
Hi, My text view shows the text when i am using iphone OS 3.0-
but for some reason it will not show the text on OS 2.0.
I can get the inputed text on OS 2.0 and even save it to file,
and then restore the text but still- the text is not visible on OS 2.0.
I have tried changing the scrolling properties and the font and the color and the hi...
I am starting to move more of my view hierarchy construction to IB.
I have a nib file called "AlignmentViewController.xib" in which I set up my view hierarchy with AlignmentViewController as the files owner. This works fine.
One of the methods I remain fuzzy on is awakeFromNib. In the follow code snippet of AlignmentViewController I a...
I've got a couple of .tgz-files in my bundle that I want to uncompress and write to file. I've got it working - sort of. The problem is that the file written gets 512 bytes of crap data in front of it, but other than that, the file is uncompressed successfully.
I don't want the crap. If it's always 512 bytes, it is of course easy to j...
I would like to confirm what the recommended ways are to convert audio and video files into NSData objects. Is + dataWithContentsOfFile: the best way to do this?
Thank you
...
Hello, the client is concerned about safety of the data application uses and stores locally on device (e.g. they want to prevent reading our data files even on jailbroken iPhones). So I wonder - what are the possible ways to ensure data safety on iPhone?
Edit:
I'm thinking about 2 ways of storing data - a bunch of xml files (maximum si...
Hi,
My problem seems quite simple but I have failed to find a solution here or elsewhere.
I have a UITableView as a subclass in one of my UIViews. When the application finishes the last selected table cell is saved to NSUserDefaults and when the aplication restarts I want to set the seleced cell as it was before. However, this causes pr...
Hi,
I know since the 3.0 SDK we can use accessories, so my question is simple, what is the process to make an iPhone app and PC (or Mac) app interact, using the USB ?
I don't ask you any code, but just the paths and the keys for making that work.
Have I to access the iPhone disk through SSH and work with files ?
Or can I send data fro...