Hi all,
I want set dynamic height for webview depending on the dynamic text. I've tried
[my_webview sizeThatFits:CGSizeZero];
But it didn't work for me. I want to set webview height dynamically.
Thanx in advance.
...
Hey i am working on iphone application where i am fetching data from an API xml format.my data contains thousands of images.I am using nsxml parsing and ASIHttp library to show data in uiscrollview . but it is very time consuming and also sometimes i have to make multiple calls to api in single page. so please anyone suggest me best w...
Hi guys
I am developing an iPad application which just drawing a 3d cube. User can rotate it with finger motion and can zoom in/out with pinching it.
Right now I am coloring whole cube (every surface) at same time. Now if I want user to color each surface of cube separately, means user will tap one surface and it will color that surfa...
Hi there,
I've got mask images w/o alpha channel, pure black and white with a black polygone on the center sourrounded by white.
I've got png's image that I'd like to mask. the png have got an alpha channel.
using the method here below : ok on simulator, but background is black on device ...
any idea to fix that ?
- (UIImage*) maskIm...
I need to change color on the default "self.navigationItem.backBarButtonItem". To accomplish this I´ve created an custom Button class and implemented it like this:
- (void)viewDidLoad {
[super viewDidLoad];
BackButton *blueSaveButton = [[BackButton alloc] init];
UIBarButtonItem *temporaryBarButtonItem = [[UIBarButtonItem alloc] init...
Could someone please direct me to some sample code that demonstrates how to send SMS from the iPhone.
...
Hi, I have one of my projects running fine on devices. But when i got updated to 4.0.1, the app isn't launching.
When I tried to build it, I am seeing things like this.
*Data Formatters temporarily unavailable, will re-try after a 'continue'. (Not safe to call dlopen at this time.)
Can anyone please help me come across this 4.0.1 hurdl...
I'm in the process of creating a port scanning/ip scanning tool for iphone. One thing that i haven't been able to do is to get the netbios name for an ip. Is there an easy way to do it?Or do i have to craft my own netbios request over udp using asyncudpsocket library? If so can someone guide me how to do that , to create a netbios reques...
I want to know about categories and Protocol with example for objective-c
...
I would like to replace the detail disclosure indicator with a custom image, however i still need the
-(void)tableView:(UITableView *)tableView accessoryButtonTappedForRowWithIndexPath:(NSIndexPath *)indexPath;
method to be called when i tap on the button, any ideas?
I know you can set the accessory view, but if i put a button in it,...
UPDATE:
i have MENUViewController and i insert this view to TableViewCell, when i press button on MENUViewController how to pass nextResponder to TableViewCell ?
from LOG at my button in MENUViewController class->NSLog(@"nextResponder = %@", self.nextResponder);
it show like this?
2010-07-22 02:14:12.627 NewsReaderV2[3576:207] button...
Hi,
The new features list of IOS 4.0 says that AV Foundation framework has got Media asset management, Track management, Media editing, and Metadata management for media items. What do they mean by this?
Using track management and media asset management can i access media files from the photos app?
Can i make my custom compositions us...
I m new to iPhone development.i m trying to generate MD5 hash code,i my app,m using four text fields like user name and password....i hav to convert Password text field to MD5,m using this code,it generates 32 digit MD5 code,bt its not my password textfield...all d time it generates the same code....here is the code,is nyone help me out ...
Hi all,
I've got a view containing a segmentedControl and a tableView. The tableView is populated depending on the segmentedControl item that is selected (in this case Food and wine). The data for the tableView is generated from coreData.
It works fine when starting up the application which any of the segmentedControl items selected (...
Hi! I am new to this field, presently i am on an application in which i'm parsing the data from xml file in my xml file there is a date (yyyy-mm-dd format), time (hh:mm format). i took some variable in application to store them like NSDate for date from xml and NSString for time purpose. i need that if i select some date from UIPickerVie...
There are several html files in the app bundle. Depends on which page a user selects, the app loads a html file into a UIWebView. However, there is a delay when loading the html file for the first time. Is there a way to pre-fetch the html first (probably in a NSOperation) and improve the loading speed?
Thanks
...
Hi all,
I am new in iphone,in my app required data from the server.
1)mysql database uploaded on the server
2)With the help of php code i fetch the data from the server
problem is that how i integrate php in my iphone please solve my problem,
give any reference.
Thanks,
...
Here is code:
NSNumber* number = [NSDecimalNumber decimalNumberWithString :@"11111111111111111"];
NSLog(@"%@ = %lld", number, [number unsignedLongLongValue]);
And I get output:
11111111111111111 = 11111111111111112
Is it known bug or I do something wrong?
UPDATE:
bug reported: https://bugreport.apple.com/cgi-bin/WebObjects/RadarWe...
Hi all,
I'm working on an application with three tabs plus a small view in which I created a sort of TopBar that contains some info and some buttons.
In the main application delegate I define:
- (void)applicationDidFinishLaunching:(UIApplication *)application
{
...
// Add the tab bar controller's current view as a subview of the...
Hi Everyone,
I'm currently developing my first iphone game.I'm using one timer to move characters from left to right.
Here is my code in viewDidLoad().
arryBadBoys1 = [[NSMutableArray alloc] init];
numberOf1s=15;
thiefTag1=0;
iWalkingSpeed=2.0;
randomCreation=2.0;
iSelectedMan=100;
pos =CGPointMake(0.0,0.0);
[super viewDidLoad];
NSAr...