Hi,
During a time in my app - I make a button a button not enabled
myButton.enabled = NO;
The problem is that I've made my button in IB with an image, and just a UILabel overtop of it.
The label does not grey out when the buttons does.
In IB - is there a way to link the label to the button?
...
The following code should show a UIAlertView in response to a button being clicked in a UIActionSheet, but I can't figure out why it doesn't work. Does someone have an idea as to why this is?
-(void)actionsheet:(UIActionSheet *)actionsheet willDissmissAtButtonIndex:(NSInteger)
buttonindex{
if(buttonindex =[actionsheet cancelButtonI...
Hello guys!
First here's my code:
[_helperView addSubview:_navigationController.view];
[_helperView addSubview:itemView];
[UIView beginAnimations:@"pageFlipAnimation" context:nil];
[UIView setAnimationDuration:1.0];
[UIView setAnimationTransition:UIViewAnimationTransitionFlipFromRight forView:_helperView cache:NO];
[UIView setAnimatio...
Is there any way to simulate CMMotionManager's gyroscope output in the iPhone 4 simulator? CMMotionManager's gyroAvailable seems to indicate that the simulator itself won't do it (which is understandable, given that it doesn't simulate acceleration data either), but I figured someone may have written a simple simulator drop-in for testin...
How would I do this, all I want to do is rotate a UIImageView depending on the orientation of the iPhone.
...
With a button in each corner, most of the titles in my navigation bar end up being truncated with "...".
Is there any way to make the title wrap?
I know changing the height is tricky, but if I set the prompt to an empty string "" then it seems to increase the height, so I'm hoping I can get the title to wrap into that space.
...
Sample code for canceling the local notification.
I am having a application which sets a local notification and now i want to cancel one of the local notification set the by the application can someone provide the sample code for the same
...
Hello everyone
I set up a small http server on ipod to receive uploaded files from pc/mac via wifi.
Is there a way to display the upload progress on web page when uploading a large size file withou script(php/perl)?
Thanks
interdev
...
I have done the zoom out the large image(3200X4400) using scrollview.
I got the result also "Build suceeded".But Iphone crash.
Note:There was no error and warnings when built the application
Need help on this
Thanks in advance
...
I am having a problem with ad-hoc distribution in iPhone. I have developed an application in sdk 4.0. I have a valid developer's license and I have added provisioning profiles in my project. When i run my application without FacebookConnect inluded in the project everything is fine. But as far as i include FacebookConnect into my project...
Hello everyone. I want to do something like:
string s1 set to null
s2: "abc"
repeat 10 times
s1=s1+s2
How can I do this in objective-c?
...
NSDATA *data1;
NSDATA *data2;
NSDATA *data3;
I want to convert my this all 3 data's to bytearray and then again i want to append it to the
NSMutabledata;
What Should I do For that?
...
Can somebody explain how to handle an xml file which is to be downloaded over the internet and to be displayed in an apps. please i am a newbie to iphone sdk and willing to learn the stuffs... somebody please help me.
...
I have a UITableView that represents a list of objects, I'd like the user to touch an object, drag it onto another one (as to combine them) and seeing the two disappearing and a new one appearing. I guess that I can't do this with the standard table view editing methods (a row cannot be dragged onto another one, am I right?). Shall I wri...
hi i am new to iPhone application development. i developed a simple project on xcode now i check it in mobile. how can i done this ,means need to create exe file or any thing else
pls help me
...
Hi folks,
I have a strange issue in phonegap framework. I want to display PDF file in my application, when I am trying to add PDF file with iFrame tag it doesn't show a PDF with horizontal scroll and with a big zoom size. so getting out of screen.
I tried by another way using embed tag, its also having same problem with addition to th...
I got an UITableView on my project and I need to customize the separator. I want to use an image instead of a color. I tried using the +colorWithPatternImage: UIColor method with no luck.
...
My iPad app is freezing at this line of code:
self.view.frame = [[UIScreen mainScreen] applicationFrame];
There are no errors, warnings and the app doesn't crash, it just freezes. This is obviously standard code and I use the same line in a very similar view controller with no problems.
Any ideas?
...
Hi, is There anyone know how to get the Bing 'daily mobile wallpaper' address.
if you visit bing.com via your IPhone, you will see a beautiful wallpaper.
Bing change it everyday, and provide two resolution format for Portrait and landscape.
for example, today's Bing mobile wallpaper are from
http://www.bing.com/fd/hpk2/LouetLighthouse_E...
I want to search the web on say "hospital". Whatever results I get from Google I want to customize them and list them, for example I want to show only the URL of the results. How can I do this in Objective C?
...