Hi,
I'd like to mimick iPhone main screen in JavaScript on Safari / Chrome / Firefox.
By mimicking I mean:
- Having a couple of pages
- Switching between the pages by clicking & dragging / swiping with my mouse
- Having those dots from the bottom iPhone main screen displaying which page it is
The closest to what I want is:
http://jquer...
Hi all,
How can you convert the UNIX timestamp (that is in the form of a number denoting timestamp) into date, time(hours, minutes, seconds) in Objective-C?
Thanx in advance.
...
I am using two UIAction sheets within my current project. I can get one to work perfectly fine but when i insert a second action sheet it runs the same arguements as the first. How do i define the actionsheets seperatly?
-(IBAction) phoneButtonClicked:(id)sender
{
// open a dialog with just an OK button
UIActionSheet *actionShee...
In my .h file I have:
NSMutableArray *myArray;
@property (nonatomic, retain) NSMutableArray *myArray;
My .m file looks basically like this:
@synthesize myArray;
- (id) init {
self = [super init];
if (self != nil)
{
self.myArray = .... ? // here I want to create an empty array
}
return self;
}
- (void) ...
It's well known that Apple does not provide automatic garbage collection on the iPhone to prolong battery life. Yet MonoTouch apps, which reportedly run perfectly on the iPhone (and many are sold through the AppStore, therefore are approved by Apple), do have automatic garbage collection.
Is this automatic garbage collection, or does M...
In UIView animation blocks I can specify timing curves like UIViewAnimationCurveEaseOut and so on. Is there a way of providing an own timing function to core animation, which behaves different from the defaults?
...
I developed a headset device that can connect to iPhone (HFP + A2DP + AVRCP). I want to write an application that will also send and receive data (a few bytes) to/from the headset over Bluetooth.
Actually I want to open a Bluetooth connection between iPhone and my device to transfer data.
Is it possible ?
...
Continued from the last question here: Log method name in Obj-C . I just wondered if there is a way to print out the variable name as well. For example:
NSString *name = "vodkhang";
NCLog(@"%@", name);
and I hope that the output should be:
name: vodkhang
Just to summarize the previous post, currently, I can print out the class name...
Hi,
I'm using two UIViewController in Application Delegate and navigating to UIViewController using presentmodalviewcontroller. But Problem is that presentmodalviewcontroller works for first time UIViewController and when i want to navigate to second UIViewController using presentmodalviewcontroller then its showing first UIViewControlle...
Hi all,
I am in the process of developing an iPhone application that communicates with a number of Bluetooth devices that all support Serial Port Profile - well I assume that it is SPP as they show on my MacBook as Serial Port DevB etc.
I understand that iPhone OS 3.x does not support SPP - is that correct? Does anyone know if that ha...
Hi
The iPad is coming to the Uk and so are the expensive data plans.
My app downloads large pdf files.
I prompt the user if they are on 3g if they wish to continue but it there any way to access the IPhone setting for data downloaded so I could do a before/after.
Im looking for
IPhone > Settings > General > Usage > Cellular Network Data ...
hello,
Can we change the color of the table view title the string which i am showing appears in gray color can we choose color for it .Is there any property of table view title
i am not asking for table view header or footer i mean the title
- (NSString *)tableView:(UITableView *)tableView titleForHeaderInSection:(NSInteger)sectio...
This is an agonizingly rookie question, but here I am learning a new language and framework, and I'm trying to answer the question "What is Truth?" as pertains to Obj-C.
I'm trying to lazy-load images across the network. I have a data class called Event that has properties including:
@property (nonatomic, retain) UIImage image;
@proper...
Hi iPhone developers,
I want to add a feature in my iPhone app, the are:
call to a phone number in my app
play a recorded mp3 voice to that number
after call end, relaunch the previous app
I know I have to use following code snipt for dialing to a number XXXXXX:
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"tel:X...
Hi, I use the heading value (return by the locationManager:didUpdateHeading:) but when the iphone is tilted this value sometimes change (from 5 to 50 degrees).
Is someone faced the same problem?
Is there a solution or is the magnetometer not enough accurate to give me more precise values?
...
Hi,
I use a UITabBarController with 4 views. The first of those 4 views should be able to rotate, the other three not. And now the problem is, when having a tab bar controller you have to set all used views to rotatable (i.e. returning TRUE in shouldAutorotateToInterfaceOrientation).
So, my question is now, can I prevent the three vie...
I made a UIScrollView like the Weather.app.
On the first page I've placed a UITableView which shows data loaded from a website. On the second and on the first page I also want to place a UITableView. The other two tables should also load data from a website, but from another URL.
Now my question. How can I set up a UIScrollView with 3 ...
Ok this might sound like a dumb question. Does the iPhone SDK use different ports for different actions? Like port 80 for webkit and port 25 for mail?
The problem I'm having is that I can view all my content of my app in my own WLAN, but the content from MPMoviePlayer isn't working in a different WLAN environment, although the other par...
I am really puzzeled by this one. I have set up two UIActionSheets in my application. They work perfectly fine until you use the cancel button in the UIActionSheets.
When i navigate away from the page the UIAactionSheet returns too it crashes my app.
Does anyone have any ideas as too why?
-(IBAction) phoneButtonClicked:(id)sender
{
/...
this is my code:
CLLocationCoordinate2D location1;
for(int i=0;i<[appDelegate.books count];i++)
{
Book *aBook= [appDelegate.books objectAtIndex:i];
NSLog(@"Reading id value :%f",aBook.Latitude);
location1.latitude=aBook.Latitude;
location1.longitude=aBook.Longitude;
addAnnotation = [[AddressAnnotation...