小编Joh*_*dle的帖子

UIAlertView按钮动作?

我有一个UIAlertView显示此代码,要求您在appstore中评估应用程序.

UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Rate on the Appstore!" 
                                                message:@"" 
                                               delegate:self 
                                      cancelButtonTitle:@"Later" 
                                      otherButtonTitles:@"OK", nil];
[alert show];
[alert release];
Run Code Online (Sandbox Code Playgroud)

但我无法弄清楚如何将操作添加到OK按钮,该按钮将您带到AppStore中的应用程序.

delegates objective-c uialertview ios

9
推荐指数
2
解决办法
3万
查看次数

函数局部变量是否始终存储在每次执行的同一组内存位置中?

我假设没有但不积极.不确定如果其他变量可以占用堆栈中的相同位置.

c memory function

3
推荐指数
1
解决办法
86
查看次数

标签 统计

c ×1

delegates ×1

function ×1

ios ×1

memory ×1

objective-c ×1

uialertview ×1