我试过这样做:Values = [[NSSet setWithArray:Values] allObjects];
没有成功,
谢谢
我有一个字符串中的文本,如下所示
011597464952,01521545545,454545474,454545444|Hello this is were the message is.
Run Code Online (Sandbox Code Playgroud)
基本上我希望消息的不同字符串中的每个数字,例如
NSString *Number1 = 011597464952
NSString *Number2 = 01521545545
etc
etc
NSString *Message = Hello this is were the message is.
Run Code Online (Sandbox Code Playgroud)
我希望从一个包含所有内容的字符串中分离出来
[Number.editable = NO];
[Number resignFirstResponder];
[Password.editable = NO];
[Password resignFirstResponder];
Run Code Online (Sandbox Code Playgroud)
我收到了错误
请求成员'可编辑'的东西不是结构或联合
:S
谢谢
我收到此错误
Warning: include(../config.php) [function.include]: failed to open stream: No such file or directory in /home/soizastu/public_html/cms/happy-api/retrieve.php on line 2
Warning: include() [function.include]: Failed opening '../config.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/soizastu/public_html/cms/happy-api/retrieve.php on line 2
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'soizastu'@'localhost' (using password: NO) in /home/soizastu/public_html/cms/happy-api/retrieve.php on line 6
Error connecting to database.
Run Code Online (Sandbox Code Playgroud)
基本上在cms文件夹中是config.php我认为include "../config.php";
会做的伎俩,但它看起来如此.
我目前有一个整数int i
,它的值是60
我希望除以100
得到0.60但我不能这样做请帮助
int i = 60;
int x = 60 / 100; // Dosen't work should be 0.60 instead returns 0
Run Code Online (Sandbox Code Playgroud) 我有一个文本字段,
号码和密码
我不知道如何保存这些设置,然后在应用程序开始检查它们是否已设置时读取它们.
谢谢
石匠
基本上我有一个WebView
,SecondViewController
我希望WebView
在每个视图上都可见,就像选项卡栏一样,并且在每个视图上完全可控。
请注意,该内容WebView
将位于带有在线幻灯片的网页上,因此我无法简单地在每个视图上重新加载
也在SecondViewController
我有
- (void)webViewDidFinishLoad:(UIWebView *)YouTubePlayer {
Run Code Online (Sandbox Code Playgroud) 我有一个表格视图,我想突出显示用户点击选定的单元格,我将如何做到这一点?
(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
Run Code Online (Sandbox Code Playgroud) iphone ×9
objective-c ×9
database ×1
math ×1
nsstring ×1
php ×1
save ×1
split ×1
string ×1
uitableview ×1
uitextfield ×1
uiwebview ×1