- 浏览: 356665 次
- 性别:
- 来自: 福州
-
文章分类
- 全部博客 (145)
- iPhone不能分类的 (37)
- UITableView (7)
- CALayer (4)
- UIButton (2)
- NSFileManager (4)
- UIAlertView (1)
- ASIHTTPRequest (2)
- NSDate (8)
- UIImageView (1)
- UIFont (1)
- Mac OS X (4)
- NSString (5)
- UINavigationBar (2)
- UIView (7)
- UIScrollView (1)
- UIDatePicker (1)
- NSLog (2)
- UIWebView (2)
- MKMapView (6)
- core plot (1)
- UILabel (2)
- UIImage (3)
- NSArray NSMutableArray (2)
- iphone基础知识 (3)
- NSDictionary NSMutableDictionary (1)
- Block (2)
- UINavigationController (1)
- Quartz (3)
- UIColor (1)
- NSNotificationCenter (1)
- NSNumber (1)
- NSError (1)
- NSTimer (1)
- NSURL (1)
- KVO (1)
- UIBarButtonItem (1)
- NSUserDefaults (1)
- 软键盘 (1)
- UITextView (2)
- CLLocationManager (1)
- xCode (2)
- VC (3)
- Private Framework (1)
- xCode调试技巧 (2)
- IOS7 (3)
- cocos2d-x (5)
- 后台运行 (1)
- Chromium (0)
最新评论
-
feishihai:
太 感谢 了!!!其他地方说的都只有一半!!
xcode5 Icon already includes gloss effects doesnot work解决方法 -
hhb19900618:
你这个效果有渐变吗?
UITableView阴影 -
zhaoyubetter:
不对啊。这是遍历 value啊
NSDictionary遍历所有的key和Values -
sunqingquan:
学习啦,加油
NSError code错误列表信息 -
liubiqu:
如果有xib文件需要增加一个language,这样调用选择图片 ...
iphone系统控件里显示中文标题设置
1. 在需要被启动的app中的plist文件, 右击Information Property List, 选择Add Row
2. 选择"URL types"作为键值
3. 展开的"Item1",为URL identifier提供一个值,这个值可以是任意的, 但是惯例是使用"反向域名(reverse domain name)"(例如:com.mycompany.myapp).
4. 右击"Item1", 选择"Add row"
5. 选择"URL Schemes"作为键值
6. 为这个"URL Schemes"输入对应的值(例如: "myapp://"那么就输入"myapp"). 这里可以输入多个不同的值.
7. 这是在另一个程序, 启动代码:
NSURL *url = [NSURL URLWithString:@"myapp:"]; [[UIApplication sharedApplication] openURL:url];
-----------------------
Now that the URL has been registered. Anyone can start the application by opening a URL using your scheme. Here are a few examples … The iPhone SDK, when launching the application in response to any of the URLs above, will send a message to the UIApplicationDelegate. If you want to provide a custom handler, simply provide an implementation for the message in your delegate. For example: A common technique is to parse the URL passed in and pull from it the parameters that will be used by various views in the application and store them in the User Preference. Below is an example where we store the URL as a value parameter “url” in just such a manner … Now you have everything you need to enable others to wake-up your application and even pass it information! Enjoy!Optionally Handle the URL
myapp://
myapp://some/path/here
myapp://?foo=1&bar=2
myapp://some/path/here?foo=1&bar=2
- (BOOL)application:(UIApplication *)application handleOpenURL:(NSURL *)url
{
// Do something with the url here
}
- (BOOL)application:(UIApplication *)application handleOpenURL:(NSURL *)url
{
if (!url) { return NO; }
NSString *URLString = [url absoluteString];
[[NSUserDefaults standardUserDefaults] setObject:URLString forKey:@"url"];
[[NSUserDefaults standardUserDefaults] synchronize];
return YES;
}
发表评论
-
XCode工程内多Targets教程
2014-08-11 09:20 1550原帖地址 http://www.coc ... -
iOS7 Custom UITabBarController
2014-07-02 16:57 752http://blog.csdn.net/u014084081 ... -
[CALayer release]: message sent to deallocated instance iOS内存过度释放问题
2014-06-24 16:30 1369http://www.cnblogs.com/cocoaji ... -
Determine device (iPhone, iPod Touch) with iPhone SDK
2014-05-01 19:57 1087- (NSString *) platformStri ... -
appstore 网址 相关
2014-04-06 15:57 1057获取某个app的网址,格式:https://itunes. ... -
在Xcode项目中导入自定义的字体-
2014-03-14 21:33 15971. 将你的font的ttf文件导入到项目里。 2. 找到 ... -
检测文件属性(图片,视频或文本)
2013-12-10 17:17 982NSString *file = @"ht ... -
xcode 的project.pbxproj 的合并问题
2013-11-19 17:10 1106打开project.pbxproj 手工删除了里面>&g ... -
NSAttributedString.h
2013-10-30 14:25 2353*/ UIKIT_EXTERN NSString *co ... -
IOS 如何获取当前设置的语言
2013-05-27 14:20 5490NSUserDefaults *defaults = [NSU ... -
统计代码函数
2013-01-06 09:31 958find . "(" -name &qu ... -
@dynamic 和@synthesize区别,@encode
2012-12-06 09:56 1853@dynamic 是相对于 @synthesize的,它 ... -
NSNumberFormatter使用方法
2012-10-09 17:24 1342NSNumberFormatter* moneyFor ... -
app running in background
2012-07-27 12:36 2058app需满足下面条件才能在后台运行,否则最多只能在后台10~1 ... -
animateWithDuration block main thread
2012-07-02 15:32 1636用+ (void)animateWithDuration:(N ... -
iOS系统中各种设置项的URL链接
2012-01-16 13:09 1349在代码中调用如下代码:NSURL*url=[NSURL ... -
xcode4.2中为propery重写setter和getter方法会出现警告解决方法
2012-01-07 21:24 2656xcode4.2中为propery重写setter和gette ... -
使用animateWithDuration 导致exc_bad_access
2011-12-30 12:32 1487这时看看系统设置中的other link flags是否有使用 ... -
xcode4.2编译支持IOS3.1.2系统设置
2011-12-26 12:16 12191.Change the Target's "Bui ... -
iPhone、iPad通用的应用程序图标设置
2011-12-18 21:38 1228http://blog.csdn.net/diyagoanyh ...
相关推荐
在Android中,`Font`通常指的是字体文件,通常以`.ttf`(TrueType Font)或`.otf`(OpenType Font)格式存在。这些文件包含了一系列不同的字符和字形,用于显示各种文字。要将自定义字体应用于应用程序,你需要将...
Grasp the fundamentals of web application development by building a simple database-backed app from scratch, using HTML, JavaScript, and other open source tools. Through hands-on tutorials, this ...
This is the source code for the edX mobile Android app. It is changing rapidly and its structure should not be relied upon. See http://code.edx.org for other parts of the edX code base. It requires ...
Hews A hacker news reader focuses on readng experience with ...Open hacker news links from other app Open post/other links in external browser Check User's HN profile (long press) Share comment l
- 在“Other Settings”部分,确保“Scripting Backend”是IL2CPP,且“Architecture”为ARM64,因为苹果已经不再支持32位应用。 - 在“Plist Settings”下,添加必要的元数据,如应用名称、公司标识符等。 - 在...
Jams Music Player Jams is a free, powerful and elegant music player for Android....Rather than letting Jams completely die off, I've open sourced the app and hosted it here to encourage other develop
看起来您正在尝试在系统上安装macOS和$(OtherOS) ,但是您也不想在此过程中弄乱$(OtherOS)或macOS。 在这里,将指导您通过多个步骤来实现这一目标,同时尽可能不影响操作系统设置。固件类型多重引导受您正在运行的...
mogujie Open Source IM App mogujie Open Source IM is aiming to provide another IM solution in your company for colleagues to communicate with each other. we've released Win/Mac/Android/iOS client ...
Dual SIM Reminder This app is intended for ...a widget lets you open Dual SIM settings directly from the home screen Currently supported phones: Huawei P9 (and probably all other Huawei phones) Samsung
Monitor and track your weight, BMI, body fat, body water, muscle and other body metrics in an open source app that: has an easy to use user interface with graphs, doesn't require you to create an ...
│ ├── Other:其他 └── Pods:项目使用了[CocoaPods](http://code4app.com/article/cocoapods-install-usage)这个类库管理工具 └── json:请求的示例数据请注意,因为使用了Pods,所以请下载完...
Android, the next-generation open mobile platform from Google and the Open Handset Alliance, is poised to become a significant player in the mobile device market. The Android platform gives developers...
Develop a wide range of apps, from a simple weather app to an Instagram-like social app Get ahead in the industry by learning how to use third-party libraries efficiently in your apps Who This Book Is...
Develop a wide range of apps, from a simple weather app to an Instagram-like social app Get ahead in the industry by learning how to use third-party libraries efficiently in your apps Who This Book Is...
Data pages are separate from the main tree structure, so can be freed from memory if needed, and loaded on demand. Automatic index file recovery on non-clean shutdowns. String Keys are UTF8 encoded ...
You can download LnkShortener from one of the following App Stores or obtain the latest binaries from the Releases page. App Stores Use LnkShortener is working out of the box. Simply share a ...
SoundWaves is a free, libre and open source app for fetching and listening to podcasts. Help out If you feel like helping out we are more than happy to accept any kind of help. There are a lot of ...
longer allows apps to clean other app's caches, thus the claim of cleaners clearing them is completely false. The only thing they can clean: log files, temporary files, and empty folders. All thre
including open-source frameworks that your apps can use, how to use app extensions make your app play nice with other apps, and how to take Swift beyond Apple’s domain with open-source Swift tools.
By frequently speaking at local meetups as well as cloud computing/big data industry events and conferences, he learns from other experts. He holds an MBA degree from the University of Washington's ...