Hi,
I just created my own zooming implementation for UIScrollView,
-(void) scaleZoom:(float)zoomScale centeredAt:(CGPoint)centerPoint
{
UIView *viewForZooming = [self.delegate viewForZoomingInScrollView:self];
if (viewForZooming == nil)
return;
lcZoomScale = zoomScale;
[UIView beginAnimations:nil context:viewForZoomi...
Hi all, i am using Apple Push Notification Service for sending some notification messages. I am able to send text notification message but there is no "ok" or "view-close" buttons. In order to put these buttons to the notification message, what can i do?
...
Trying to include a instance variable in a message that a UIAlertView Shows.
lostAlert = [[UIAlertView alloc] initWithTitle:@"Sorry" message:(@"You Were Wrong, the correct structure was %@", structureName) delegate:self cancelButtonTitle:@"Dismiss" otherButtonTitles:nil];
however, when the Alert is shown, no message is shown.
Any i...
I an new in iphone application i want to put Nevigation controller after a splash screen so how can i put?Is there any way to put nevigationbar in my application without Splash Screen.
...
Hey I was wondering if anyone has used the Phone and Maps app icons in their app as links to these other apps?
Ie: I have the phone app icon as a button which when taped closes my app and starts the phone app...
is this allowed by apple?
cheers
...
NSString *abc = @"2009-12-12 16:25:00";
i have 1 string in this format as shown above.
NSDate *currentDate = [NSDate date];
now i want currentDate in also this format as specified 2009-12-12 16:25:00
and also i want to convert this currentDate from NSdate to NSString format with specified thisformat 2009-12-12 16:25:00
help me
...
Hi, there is something strange in my code. I'm sure to forget something but i don't know what. I try to handle phone, sms mailto and http links in an UIWebView.
This is how i try :
1/ instantiate the UIWebView :
webview = [[UIWebView alloc] initWithFrame:CGRectMake(0,0,320,460)];
webview.opaque = NO;
webview.backgroundColor = [UIColo...
Hi
I've 2 devices (iPhone + iPod) connected to my Mac and both are available as developper devices in XCode. How can I choose which one to use for testing purpose and switch from one to the other when I want ? For the moment the only way I found is to unplug the unwanted one in order for the other to be available. Am I missing something...
I'm using the Three20 Library's TTPhotoViewController for displaying a list of PNG files from my application bundle. However, the PNG files appear sketchy and anti-aliased. Anyone facing this problem?
Solutions?
...
I currently got two problems I, both about the index of a UITableView
I want to change the color of some section-tags in the index, to show that there are new changes within this section.
I need to position the index on the left side of the table so it doesn't interfere with the detail disclosure Button
Is there a way to realize this...
Hi All,
I would like to calculate the no of days,hours,minutes between two different dates in iPhone(Objective C). Please provide any code sample to do the same.
Thanks
Sandeep
...
Hello!
I want to use the JSon library in my iPhone project, and went to this site:
JSON
And there I choosed the Cocoa JSON Framework, but the site don't want to load for me. Any ideas how to fix this problem? Or suggestions for a place where I can get the JSon for objective-c?
...
hi expert, i have CameraViewController and WebViewController with their .h, .m, and .xib,
once app execute, CameraViewController invoked, and its has two button, 1st to snap picture from camera, and 2nd button to view the web, how can implement a code, so when i press the 2nd button called the UIWebView in WebViewController.xib in its -...
I am using Xcode 3.2.1 in project, where Base SDK is iPhone Device 3.0 and iPhone OS Deployment Target is iPhone OS 2.0, in other words a backwards compatible application.
The problem is MapKit Framework. It's added as Weak linked library, but the app just does not link for "Device - 2.2.1" target. I have run out of ideas... What else ...
Ok so:
i have NSMutableArray 1
i also have NSMutableArray 2
I would like to remove all objects from array 1 that match with objects in array 2.
Any ideas?
Thanks!
...
Hello,
I would like to know if there's an API to implement a view which is similar to the iPod albums Landscape view. I tried using Scroll view but couldn't the get the required output.
Also, I would like to know if MMS can be implemented in an iPhone application. I did some searching, but no luck. Jailbreaking aside, is there any API...
What is, according to you, the most important topic (chapter) covered by the iPhone Developer Documentation?
Do you know another topic that is very important to you, yet rarely read by other developers?
I would like to print and read some important chapters, but I may forget something...
...
Hi!
How to slice some text (html) string into number of pages to be possible read text as a book?
Thanks for suggestions.
...
I have been trying to write a delegate to a view controller which has a method which will call back the sender when it is done
-(void) doSomething:(id)target action:(SEL)action object:(id)object{
//Do Some work
//Produce an NSArray* called array
object = array;
if([target respondsToSelector:action])
{
[target action];
...
i have implemented demo application,I am open photo album application from my application.In photo album application there is cancel button(defult).i want to localize that button in another language .how it possible?can u give me idea?
...