Re: How to record screen in iOS

2016-01-22 Thread ico
ef/occ/cl/RPScreenRecorder > > > > I’ve been thinking of exploring this for support purposes (i.e let the > user hit a button to record the screen and send us the video), but to be > honest I haven’t even spent 2 seconds looking at ReplayKit beyond what I > saw at WWDC…so not sure i

Re: How to record screen in iOS

2016-01-21 Thread ico
ble for > sandboxing/privacy reasons. > > For your own apps, you can embed ReplayKit or you can connect to the Mac > and use QuickTime to record the screen. > > > On Jan 20, 2016, at 1:21 AM, ico wrote: > > > > Hi All, > > Is it possible to develop an app t

How to record screen in iOS

2016-01-20 Thread ico
Hi All, Is it possible to develop an app that can run in the background and record the user's device screen. For example, user can use this app to record a video how they play a game and post the video on the web etc. Anyone can point me to the right direction to get it done? Thanks a lot. ___

App Slicing and Bitcode relationship

2015-09-23 Thread ico
Hi, As far as I know, App Slicing has two major parts of functionality: 1. slice the resource so that only the certain suitable resources are downloaded for a specific device, for example, iPhone 5 only downloads @2x images and will not download @3x images. 2. slice the binary code, that is the ap

About App size after using app thinning.

2015-09-22 Thread ico
Hi all, I build my app with BitCode enable, and I encounter the same problem as below thread mentioned: https://forums.developer.apple.com/message/33429#33429 That is I archive my app and then export it to some variant, and I can see the size is around 155k ~ 165k compressed and 287k ~ 301k uncomp

Re: Is it possible to transfer data by using light

2015-09-20 Thread ico
After reading all of the replies, no one mentioned how to use iPhone to detect the light changes (bright and dark) in codes, I just have no clue how to make it works as long as I remember developers have no right to access the light sensor, so I guess we have to use camera to achieve this, but I ju

Is it possible to transfer data by using light

2015-09-16 Thread ico
First of all, please take a look at this video: https://www.youtube.com/watch?v=LPyLHhiGTHM This toy can connect to the iphone's network by detecting the blinking screen of an iPhone. I wonder if it is possible that using this technique to transfer data. For instance, 1. you have some data, and tr

over 200 warnings when building a lib

2014-12-08 Thread ico
Hi All, I got over 200 warnings when building a lib, anyone has clue what this is about? warning message: warning: ignoring debug info with an invalid version (1) in Any advice would be appreciated. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.co

About building my own framework

2014-11-26 Thread ico
I just create a demo project to experience building my own framework. So far everything works fine. However, if I set my app deploy target to iOS7.0, and do the same for the framework target, then I get a warning: "ld: warning: embedded dylibs/frameworks only run on iOS 8 or later". It seems the f

Re: iOS 7 navigation bar height

2014-04-16 Thread ico
w so its top edge abuts the bottom of the navigation bar. In this case, > the value of this property is 0. > > Query this property within your implementation of the > viewDidLayoutSubviews method. > > > On Apr 16, 2014, at 8:30 PM, ico wrote: > > > 1. > > >

iOS 7 navigation bar height

2014-04-16 Thread ico
Hi All, First of all, let me show you the rule about the height of navigation bar in iOS7, quote from the web ( http://blog.jaredsinclair.com/post/61507315630/wrestling-with-status-bars-and-navigation-bars-on-ios-7 ) -- 1. UINavigationController will alter the height of its UINavigationBa

What's the best practice to write some common tasks?

2011-11-15 Thread ico
Hi all, Suppose I have some common tasks, such as get user preferences and return some value, or do some calculation then return the result. I want to implement a function that do these kind of tasks so that I don't need to write those codes again and again. However, this function seems that it sh

NSArray, NSDictionary property attribute issue, retain or copy?

2011-11-13 Thread ico
Hi all, We always use copy attribute on the NSString property declaration because it will figure it out that when you pass a mutable copy, if will copy then make the object to be immutable version and assign it to your property, and it will retain if you pass an immutable version. That's very cool

About iVars declaration and property

2011-11-12 Thread ico
I am surprise that I just know we do not need to declare instance variables explicitly when we declare the property and use @synthesize. That is we do not need a instance variable to be declared that is corresponds to the property declaration. look at this blog: http://cocoawithlove.com/2010/03

Re: Memory management about async object

2011-02-07 Thread ico
tes/tn2009/tn2109.html> > > Also, here is some sample code you might find very helpful: > > <http://developer.apple.com/library/mac/#samplecode/LinkedImageFetcher/> > > as it does almost what you're describing. > > HTH, > > -Steve > > > > >

Tab bar controller inside a navigation controller, how to adjust the view height

2011-01-31 Thread ico
I am trying to implement an app similar as "tweetie" applicatin, use UIViewController to implement a custom TabBarController that can be pushed in a navigation stack. This has been discussed before as shown here: http://stackoverflow.com/questions/576764/tab-bar-controller-inside-a-navigation-cont

How to scale a TabBarItem Image

2011-01-26 Thread ico
Hi All, I want to add a UITabBar in my UIViewController, I don't want to use UITabBarController because I need to push this view controller into a navigation controller. Everything is fine except that my images for UITabBarItem is not scale to fit the item size to be displayed properly. As it shou

How to implement such a view

2011-01-12 Thread ico
Hi, everyone, Greeting. I need to display some long text, and the text have some images with it. If I want to display these image beside, and in the middle of the text (not above, not below), how can I implement this view? Also it has one more requirement which is the event handling. User tap on

connectionDidFinishLoading is not invoked immediately

2010-12-29 Thread ico
Greeting, everyone I have a strange problem with my NSURLConnection that I couldn't figure out. My app will call a webservice to load data. Every time I send the request, the method connection:didReceiveData: is invoked very quick, and I put a NSLog statement inside this method, I can see that the

Re: Memory management about async object

2010-12-28 Thread ico
at 4:13 PM, Stephen J. Butler wrote: > On Tue, Dec 28, 2010 at 12:18 AM, ico wrote: > > My question is, when should I release the myHandler? Should I release it > in > > the myCallback, but after > > myCallback method finishes, it will return point 1 indicated as above,

Memory management about async object

2010-12-27 Thread ico
Hi, I am working on an app that will asynchronous to load data. Suppose I have a view controller with a method: in MyViewController: - (void) loadData { DataHandler *myHandler = [[DataHandler alloc] init]; // set this view controller itself as a delegate, when the data loading finished,

Re: UITableView Custom Section Headers

2010-12-27 Thread ico
t 4:30 AM, ico wrote: > > > I don't know if you have figured this out. I also want to know how to do > the > > customization > > on the section part of the tableview, not the cell but the section part. > I > > want to put some > > custom content including

Re: UITableView Custom Section Headers

2010-12-27 Thread ico
Hi, I don't know if you have figured this out. I also want to know how to do the customization on the section part of the tableview, not the cell but the section part. I want to put some custom content including an image on my section header rather than just some text. Can anyone tells me how to d

Call web service from iPhone [use soap]

2010-12-09 Thread ico
Hi all, I want to develop an iPhone app which will consume a soap web service. I tried to use wsdl2objc (http://code.google.com/p/wsdl2objc/) to generate the Objective C stub codes, they can be compiled but it does not work. The web service I want to call is: http://www.mathertel.de/AJAXEngine/S0

Source files are not shown in the Xcode

2010-12-06 Thread ico
Hi, I am working on an existing project. My first step is to be familiar with the project by going through the codes. And I see they use some classes which are not shown in xcode (groups and files list). It seems they didn't add those files to the project, so those files are not imported in the pr

Re: Basic HTTP program failed to compile

2010-12-02 Thread ico
need an immediate answer, contact DTS. > > On Dec 3, 2010, at 10:09 AM, ico wrote: > > > Any suggestion? Sure I can delete this project and recreate one, but I > don't > > think this is the way to fix problem. > > Also I want to learn something from this case and not to

Re: Basic HTTP program failed to compile

2010-12-02 Thread ico
s for CFNetwork stuff. On Fri, Dec 3, 2010 at 12:49 AM, ico wrote: > Hi all, > > I am studying CFNetwork Programming Guide document these days, and I wrote > a little program with > basic HTTP request and response for testing. However, I can't get this > program to compile, t

Basic HTTP program failed to compile

2010-12-02 Thread ico
Hi all, I am studying CFNetwork Programming Guide document these days, and I wrote a little program with basic HTTP request and response for testing. However, I can't get this program to compile, the error message something like: Undefined symbols: "_CFHTTPMessageCreateRequest", referenced from:

Re: How to approach to write such an app?

2010-11-28 Thread ico
r. > > -Jeff > > On Nov 28, 2010, at 10:33 PM, ico wrote: > > Thanks for your reply. I actually just found out that Discuz is like a > brand. I thought it was > commonly used world wide. > Actually Discuz is just a forum written in PHP. Sure I should communicate > wi

Re: How to approach to write such an app?

2010-11-28 Thread ico
://allseeing-i.com/ASIHTTPRequest/How-to-use) could help. Can you guys point me a right direction to approach writing this app? Any advice is appreciated! On Sun, Nov 28, 2010 at 2:57 PM, ico wrote: > Hi All, > > Suppose I have an forum powered by Discuz. I want to write an iPhone >

How to approach to write such an app?

2010-11-27 Thread ico
Hi All, Suppose I have an forum powered by Discuz. I want to write an iPhone application which is like a portal can access that forum, any forum operation like browsing, reply, change profile, make it favourite post etc can be done in that iPhone application as well. I just wonder how to approach

NSOperation completionBlock not executed

2010-10-18 Thread ico
Hi all, The block code set by the NSOperation setCompletionBlock: should be executed automatically or manually after the NSOperation object finished its task? I thought it should be automatically and my block code is not executed. Thanks. -- == Life isn't about finding yo

NSInvocationOperation problem with a signal exc_bad_access

2010-09-20 Thread ico
Hi All, I have a test program which is "command line tool" type when I created the project. I also have added a class into this project, called DemoPoint. My main function showed as follow: int main (int argc, const char * argv[]) { NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];

Re: How to invoke and inline block which is passed as function argument

2010-09-17 Thread ico
(NSString * param))block { > block(@"Hello world!"); > } > > Cheers, > > Dave > > On Sep 17, 2010, at 1:32 PM, ico wrote: > > > Hi All, > > > > I just wonder how to invoke an inline block which is passed as function > > argument. > >

How to invoke and inline block which is passed as function argument

2010-09-17 Thread ico
Hi All, I just wonder how to invoke an inline block which is passed as function argument. We can invoke a block if we declare a block as a variable, what if you simply implement them inline where they are required as an argument. It seems you have nothing reference to that block address. For exam

What font do you use?

2010-08-11 Thread ico
Hi All, I wonder what font do you use in xcode? And if anyone can tell me what font the is that in the following video? It seems the best font I have ever seen in xcode environment. http://developer.apple.com/videos/iphone/profiles/#video-demiforce (at 1:13) Thank you. -- ==

Re: How to specify the superview in the Interface Builder?

2010-06-11 Thread ico
t shown in the custom view? > > > On Jun 4, 2010, at 12:53 PM, ico wrote: > > > I have created a custom view in the Interface Builder, how can I specify > the > > superview for this custom view? For example, > > I want to make its superview be UIWindow rather than ano

How to specify the superview in the Interface Builder?

2010-06-04 Thread ico
Hi all, I have created a custom view in the Interface Builder, how can I specify the superview for this custom view? For example, I want to make its superview be UIWindow rather than another custom view. Thanks. ico == Life isn't about finding yourself. Life is

View manipulation problem

2010-05-25 Thread ico
be displayed on the screen because it is located outside of the infoView(its superview). Can anyone suggest me a solution for this? Thank you. best regards, ico -- == Life isn't about finding yourself. Life is about creating yourself. ___

Re: View manipulation problem

2010-05-24 Thread ico
Hi guys, I just wonder if this message was sent out successfully or nobody can help. On Fri, May 21, 2010 at 11:20 AM, ico wrote: > > Hi All, > > I have a little iPhone app which has the following UI: > 1. 2 buttons, use to manipulate my model object. > 2. 2 switche

View manipulation problem

2010-05-20 Thread ico
of the infoView(its superview). Can anyone suggest me a solution for this? Thank you. best regards, ico == Life isn't about finding yourself. Life is about creating yourself. ___ Cocoa-dev mailing list (Cocoa-dev@lists.a