Okay so im finally to the point where I am testing my iPad App on an actual iPad...
One thing that my app does is display a large (2mb) image in a scroll view. This is causing the iPad to get memory warnings. I run the app in the instruments to check for the leak.
When I load the image, a leak is detected and i see the following in th...
I tried to search an answer for this but couldn't find one.
My iPhone application needs to access the Photo associated with the contact in the phonebook. However, it also needs to make sure that every time application is launched, it verifies that the photo is the same.
So, in essence, I am trying to access the photo used by contacts ...
hi every one.i am using TableView having edit button to delete a row.when i swipe in the row it shows a default "Delete" button. But i dont need it.The Content of the cell must be deleted by means of edit button not by default one.how to disable that "Swipe to Delete" Button.
...
O have an NSDictionary. Inside the dictionary there is an array. I want to sort the dictionary and display it's value in ascending order so please any one help me how can I get sorted data?
...
Anyone please answer for my requirement
Im using my application in this order,
first page = UIViewController,
secondpage = UITabBarController with 4 tabs,
I need landscape on the orientation on the second tabpage(UIViewController) ? not working..
Note : When using UITabBarController its working perfect but when I add the UIViewCon...
By overriding the drawrect of my MkAnnotationViews, I am displaying paths using CoreGraphics. The problem I have is when I zoom in pretty close and scroll the map view, the paths drawn by CoreGraphics seem to be really jumpy, as if they are updated only after a shift of three or more pixels. When zoomed out, the scrolling is perfectly sm...
Greeting,
I'm a C# programmer guy. I'm planning to start developing app for iphone but I'm not sure if I should use C# under MonoTouch or just use the native language for iphone OS Objective C.
Is there a different to program for iphone app using C# or Objective C?
Is there limitation using C# to program app for iphone or it can do a...
i'am test my bluetooth device connectting and data read.
but data read callback time is very slow. callback Interval time 100ms..
how can i read callback time fastest?
- (void)openSessionForProtocol
{
NSString *protocolString = @"com.company.datapath";
NSArray *accessories = [[EAAccessoryManager sharedAccessoryManager] connectedAc...
I am able to play the MPMoviePlayerController sucessfully in a subView of the mainView. Only and the main problem is that, when the video starts playing it will suddenly display the controls at the bottom of the movieplayer and it will dissappear. I am not able to do anything on the controls. And they wont appear again whatever I do. Usu...
I am doing a normal viewBased application and have added another viewController(along with the xib). When the application starts, normally it will display its own view. I am doing an action and is going to another viewController class. From this class, I want to check which viewController is being displayed currently in the view.
How c...
Hello,
1) How to read the data from read stream in Objective-C,
Below code would give me how many bytes are read from stream, but how to know what data is read from stream?
CFIndex cf = CFReadStreameRead(Stream, buffer, length);
2) How to extract only the 1st 2bytes of data in the read stream in Objective-C
For Ex: If this is the d...
What is the normal behavior in Objective-C if you call a method on an object (pointer) that is nil (maybe because someone forgot to initialize it)? Shouldn't it generate some kind of an error (segmentation fault, null pointer exception...)?
If this is normal behavior, is there a way of changing this behavior (by configuring the compiler...
I have an application that needs a database. The application is running fine in the simulator. But when i try to deploy it onto the iphone then it gives me the error that 'no such table animal'. Where is the problem? I am providing the code for better understanding
(void)viewDidLoad
{
NSArray *paths = NSSearchPathForDirectoriesInDomains...
I have a for loop setting the background images on buttons, basically the buttons are thumbnail previews of different items & can't be set statically, however the code gives an warning because it runs through all the UIViews but then calls setBackgroundImage which does not apply to all views. The warning is an irritation, I understand wh...
I am very familiar with writing VB based applications but am new to Xcode (and Objective C). I have gone through numerous tutorials on the web and understand the basics and how to interact with Interface Builder etc. However, I am really struggling with some basic concepts of the C language and would be grateful for any help you can offe...
Using the Gregorian calendar, I am able to get the number of the day of the week (i.e. 1 for Sunday and 2 for Monday, etc.) but I am not able to find a function that displays the name of week then the number. Can anyone help?
Here is my code to get the number of day:
NSDate *dates = [gregorian dateFromComponents:component];
NSDateComp...
Hey guys,
I just noticed I get a lot of redondant code from one class to another in my project (like menus or buttons) ;)
Is there any way to optimize it ?
Thank you !
Gotye.
...
Hi,
I have a table in which I want a dynamic image to load in at the left-hand side. The table needs to use an IF statement to select the appropriate image from the "Resources" folder, and needs to be based upon [dog types].
The [dog types] is extracted from an RSS feed, and so the image in the table cell needs to match the each cell's...
Hey everyone,
I can't manage to make my code symbolicated ... I read the part "below" :
Given a crash report, the matching
binary, and its .dSYM file,
symbolication is relatively easy. The
Xcode Organizer window has a tab for
crash reports of the currently
selected device. You can view
externally received crash reports ...
I have to create a web service for iPhone. So I would like to know which web response is the best for iPhone app developement(SOAP vs REST vs XML vs JSON vs ... any other).
Is there any good example to access webservice for the best web response?
...