I'm creating a draggable UIImageView much like the iPhone/iPod Touch's "Slide to Unlock" slider when the device is locked.
I can get the view to move smoothly along the x-axis by using: float newCenter = touchPoint.x;
But this doesn't take into account the offset of the touch from the center. It's simply moving the center point of the...
hi,
i changed pList value through coding.it works fine.but after exiting application,Plist has same value(without changing value)
any help?code is as
-(void)ChangePlist:(NSString *)key
{
NSDictionary *info = [[NSBundle mainBundle] infoDictionary];
[info setValue:@"1" forKey:key];
}
...
Assume I have an iPhone application whose Product Name is "My App" (with a space between words) in XCode build settings. In my info.plist, the Bundle identifier is specified as com.mycompany.${PRODUCT_NAME:rfc1034identifier}
In the resulting info.plist in the application bundle, the bundle identifier is shown as com.mycompany.My-App. I ...
I've been seeing this type of dialogue appear in different forms in various apps and I'm wondering whether it's a part of Cocoa Touch or a custom jobby. You can see it here, in Tweetie 2.0:
If this is a custom jobby, could anyone offer any pointers as to how to get something like this working? I'm looking to do something similar with ...
I am new to iphone development.I have kept a button in the tool bar.I have given a image for it.I have to give a label to it (below the button).If i placed a label below the button and give text in the label and while running i am not able to see the text.I don't know where i go wrong.Since i am doing this in interface builder i am not ...
Hi I am having issues loading the image from an xml file. I was wondering if someone might be able to help
//
// BookDetailViewController.m
// XML
//
// Created by iPhone SDK Articles on 11/23/08.
// Copyright 2008 www.iPhoneSDKArticles.com.
//
#import "BookDetailViewController.h"
#import "Book.h"
@implementation BookDetailView...
Hi
I would like to make my app able to do an automatic lightweight migration when I add
new attributes to my core data model.
In the guide from Apple this is the only info on the subject I could find:
Automatic Lightweight Migration
To request automatic lightweight
migration, you set appropriate flags
in the options dicti...
I am new to iphone development.I have created a view based application.Now i want tab bar in that view.The first view of the tab bar is a table view and the second view is the Web-view.All the tutorials explain only tab bar based application.Since i am using view based application i finding it really hard.How to achieve it by using inter...
hii
i have a website work fine with safari. as per the requirement i want to make this site accessible through iphone properly. plz help me how to do this i m new to iphone. if you give me a example of normal web page souce code and its converted code(after making change) for iphone thn it will be very helpfull 4 me...i tried iui lib...
I am fairly new to iphone development and programming in general and am wondering how to read some text from a text file to be diplayed in a UITextView. I have tried various ways to do it but just can't seem to be able to get it to display:
- (void)viewDidLoad {
[super viewDidLoad];
NSString *filePath=[[NSBundle mainBundle] pathForReso...
Hi guys
I have a tableview cell with a custom textview in it, I am now left wondering how do I possibly access the text in the textbox after text has been edited/added.
I would normally know how this is done when I draw the textfield through IB, but my textviewcell is dynamically drawn.
(i.e. I would like to capture the data that is u...
I've been playing around with ARkit [http://www.iphonear.org/][1]
ARKit comes with a demo project that implements everything in the AppDelegate and does not make use of separate ViewController files.
I have been trying to get the demo to work using a ViewController rather than just using the Delegate.
Has anyone done this successfully...
i want to save an image from camera or already saved image to photo library in iphone.
Here i implemented a code but i cant implement it on button click moreover its getting crash.
I am very new to iphone programming side. Please give some help.
- (void)imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInf...
Hi,
When I fetch the source of any web page, no matter the encoding I use, I always end up with &# - characters (such as © or ®) instead of the actual characters themselves. This goes for foreign characters as well (such as åäö in swedish), which I have to parse from "Å" and such).
I'm using
+stringWithContentsOfUrl: encoding: e...
while parsing the content of a .json file, string like "jamie's" is represented as "jamie 's".Any one know why it is so?
Thanks in advance for any help
...
Hi All
I really want to be able to detect a paste event in a UITextView, however it appears this cannot be done.
I originally tried subclassing a UITextView and overriding the paste: method, but it never gets called on a paste event.
Has anyone been able to do this? A previous question on the same ilk didn't have an answer back in Aug...
In my app i have shown pdf from the remote server using webview and i have to add a action to download the pdf and save it into iPhone how to do...Using Php i tried to force download pdf,which works in browser(desktop) not in device
Can any one help me...
...
I am wondering what element can be used where the usual 44px won't do. There doesn't seem to be an obvious option.
...
Hey guys , I am using a Numbers & Punctuation Keypad for the UITextfield ,
I want the user be able to use only the follows keys :
1. Numbers
2. Decimal / Dot /Period
3. Done / Return Key
I want to disable all the characters as well as the Spacebar , how can I do that ?
Well I could have used the Number Keypad but then how am I suppo...
I have to implement multiplayer game in which I am doing p2p communication using both bluetooth and WIFI. Specially for iphone 1G I have to do connection via WIFI. but in picker default connection type is bluetooth. So how to set it to WIFI. Can anyone suggest sample codes for WIFI connection. except GKtank. Thanks in advance.
...